I’m working on a karaoke/sing-a-long type game, which requires that the recording of the user’s singing be as accurate as possible so that when it is played back, it matches the background music it is playing with.
The problem I am having is that on some sound cards (like Realtek) the recorded sound playback drifts – it lags further and further behind the music it should be matched to. This occurs when I record at 11025 or 22050 (8-bit mono). However, if I record at 44100, there is no lagging.
I would like to record at 11025 if at all possible for file size reasons, but the inaccuracy of the resulting recording is not acceptable. I suspect that the card is recording at 44100, and then it is getting down-sampled to the 11025 I have requested. Do you know where this down-sampling occurs? It is DirectSound, or fmod? Any ideas how to get a better result?
- Kristine asked 12 years ago
- You must login to post comments