3

I am currently doing a project capturing audio stream from microphone. The stream I captured was full of background noise. I am wondering if there is library provided for removing the noise.

If not, what kinds of algorithm I should look for?

Lee Taylor
  • 7,761
  • 16
  • 33
  • 49
Adam Aiken
  • 418
  • 7
  • 18

2 Answers2

4

I haven't found a good library for audio noise reduction. However SoX is a really good open source command line sound processing utility. Check out their documentation page, specifically noiseprof and noisered.

What I would suggest doing to integrate it into your application, is to take the SoX executable and make it an embedded resource in your application. Then whenever you need to perform noise reduction, extract the resource to a temporary directory and call Process.Start() in order to execute SoX.

Hope this helps!

Icemanind
  • 47,519
  • 50
  • 171
  • 296
1

It depends a bit on what kind of noise you have. Some noise can be removed by simple frequency filtering, in which case what you need is an equalizer. Found one for you here

Commercial libraries also exist, here's one called Audiolab

Filip
  • 2,285
  • 1
  • 19
  • 24