# How to remove the background noise from a single sound file? [duplicate]

I wandering if the following steps are practical or not?

• Import a sound in wav format, if not (for example, mathematica does not support ogg) try to convert it into wav (what's the simple rate should be then?)
• Use frequency modulation and amplitude modulation to detect the best remove effect
• Use BandpassFilter to filter

How can I do this exactly, I only have some rather rough ideas, please help me move on!

-

## marked as duplicate by cormullion, m_goldberg, Yves Klett, Artes, István ZacharOct 6 '13 at 11:31

You can import wav files using the Import command as discussed here, so this part is straightforward. To remove noise is not a simple matter. First, you need to identify the range of frequencies in which the noise lies. This might be done using the Fourier command, but is, in general, a nontrivial task. You might find information about this step here which shows how to identify the particular frequencies when using the Fourier command. Once the offending frequency regions are identified, you can filter them using the BandpassFilter command by choosing to remove the frequency regions in which the noise (but not the signal) lies.