for raw PCM data with sampling rate - say Fs - what bit rate or sample rate to use? Can I set WaveFormat sample rate parameter to same as Fs?
Asked
Active
Viewed 2,871 times
2 Answers
1
NAudio will calculate the bit rate for you, if you provide sample rate and channels in the WaveFormat constructor with two parameters. (you can also specify bit depth, but this will normally be 16).
You can specify any sample rate you like, but if you want to play it easily in Windows, go for a standard value (e.g. 44100, 32000, 48000, 16000).

Mark Heath
- 48,273
- 29
- 137
- 194
0
96 khz and 44.1 kHz are standard audio sampling rates, bit rate will span from 4 to 32 depending on your needs

aug2uag
- 3,379
- 3
- 32
- 53
-
you may also be able to convert the file to a different rate and output in a different format with [audacity](http://delog.wordpress.com/2011/03/25/playing-raw-pcm-audio-using-audacity/) – aug2uag Nov 01 '12 at 01:22