naudio / NAudio

Audio and MIDI library for .NET
MIT License
5.4k stars 1.09k forks source link

Looking for a simple noise suppressor #850

Closed billsheh closed 2 years ago

billsheh commented 2 years ago

Hi, Mark,

I am looking for a simple noise suppressor to remove noise in the recorded audio. Can you advise how to do that with NAudio?

Thanks,

Bill

markheath commented 2 years ago

I'm afraid NAudio doesn't include a noise suppression algorithm. But using a gate effect can make a big difference. There is a very simple gate example in the NAudio codebase but it's not exposed easily for usage unfortunately as it was never properly tested. Other options include using EQ (such as the Equalizer in NAudio.Extras) which could help with noise in a particular frequency range.