zinedine1986
New member
- Joined
- Sep 2, 2005
- Messages
- 2
- Programming Experience
- Beginner
Hello,
Anybody has a working vb.net sample of waveOutSetPitch? Currently am doing a recording program which can allow me to record from the microphone as a wave, and also adjust the key and beat rate of the background music.
All that I can find are either C# samples or don't work at all. I am already at my wits end. Please help! What I have now currently are the mciSendString commands to record and than play from the buffer, nomore.
i = mciSendString("seek capture to start", 0, 0, 0) 'Always start at the 44100", 0, 0, 0)
i = mciSendString("set capture bitspersample 16", 0, 0, 0) '
i = mciSendString("set capture channels 2", 0, 0, 0) 'i = mciSendString("record capture", 0, 0, 0)
Playing part:
i = mciSendString("play capture from 0", 0, 0, 0)
Would the waveOut API functions work wth my mciSendString commands? If not, could you please advise me on how I should change my program to suit the pitch and beat shifters?
Also, right now my program can only capture from my microphone. The accompanying music played from the computer would not be recorded. Any ideas how I can do this? Should I change the recording device from "microphone" to "What I hear"?
Anybody has a working vb.net sample of waveOutSetPitch? Currently am doing a recording program which can allow me to record from the microphone as a wave, and also adjust the key and beat rate of the background music.
All that I can find are either C# samples or don't work at all. I am already at my wits end. Please help! What I have now currently are the mciSendString commands to record and than play from the buffer, nomore.
i = mciSendString("seek capture to start", 0, 0, 0) 'Always start at the 44100", 0, 0, 0)
i = mciSendString("set capture bitspersample 16", 0, 0, 0) '
i = mciSendString("set capture channels 2", 0, 0, 0) 'i = mciSendString("record capture", 0, 0, 0)
Playing part:
i = mciSendString("play capture from 0", 0, 0, 0)
Would the waveOut API functions work wth my mciSendString commands? If not, could you please advise me on how I should change my program to suit the pitch and beat shifters?
Also, right now my program can only capture from my microphone. The accompanying music played from the computer would not be recorded. Any ideas how I can do this? Should I change the recording device from "microphone" to "What I hear"?