Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Commented Issue: Save on file system with costant format [16349]

$
0
0
Hello,
what is the most efficient way to persist the audio captured from the microphone guaranteeing the constant wave format (PCM, 1 channel, 16bit and 16000Hz) regardeless of the microphone configuration?

Thanks,
Pedro
Comments: you would use the WaveFormatConversionStream for resampling. For stereo to mono you could either mix or throw one channel away. But the best approach is always to record at the sample rate you want

Viewing all articles
Browse latest Browse all 738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>