I have run into something strange here with streaming sound over a network from a microphone. This is written in c# using the nAudio libraries.
The sound is captured from the default audio device at 48kHz, 16 bit, 1 channel and then sent to a server which is supposed to accept 48kHz 16 bit 1 channel PCM. It accepts the sound but the amplitude is way off. There is nothing but static unless I multiply each sample by 0.001. In other words divide the samples by 1000. When this is done, the audio is heard but the dynamic range is extremely limited. Distorting or not being heard at all.
I am using the standard waveIn from nAudio. If I send this instead to a file, Audacity plays it perfectl normally.
Any ideas what is going on?
Thanks, Tom
Audacity can play 32-bit depth files, but other audio software will just produce very loud noise when attempting to play a 32-bit depth WAV file. Could the nAudio capture actually be 32-bit ?.
This topic was automatically closed after 30 days. New replies are no longer allowed.