Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: c# Recording Audio, Automatically stop when user basically stops talking

$
0
0
The WaveIn device should be always "recording". Every buffer, you examine to decide if it contains sound or not. You'll need to write this algorithm yourself. Usually you are looking for samples that go above a certain threshold.
If there is sound, open a WaveFileWriter and start writing into it, until you decide a buffer is silent and you should stop.

Viewing all articles
Browse latest Browse all 5831

Trending Articles



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