NAudio
NAudio copied to clipboard
Recording has silence parts
I implemented this example: https://markheath.net/post/how-to-record-and-play-audio-at-same
I want to send the microphone recorded sound directly to the speakers. So far the example works but within the first 10 seconds I have unwanted silence parts in the recorded file. Here is is an example.
The original sound had no silence part in the beginning
I've answered this on StackOverflow - but basically this approach records exactly what was played - which had silence because the BufferedWaveProvider had not buffered enough sound early on. To record exactly what came in, just write directly to a WaveFileWriter as the audio comes in.
Hello,
Same problem here.
It works just fine on many computers, also in a Dell with AMD Ryzen processor it has unwanted silence parts.
What can i do? There are some settings that needs to be set depending on hardware ?