# Audio noise detection with python

Have many audio files 1 minute long. Some of them are normal. Some of them are noise.

Here is a normal file:

This is a noise:

And this is noise too:

How do auto detect noise using python?

BTW: if you suggest any external console program which can do that it will be cool too.

• It depends on what kind of signal you are looking for, and what kind of noise. I would suggest spectral flatness as a simple way to distinguish between them. Noise will have a flat spectrum, while interesting signals will not. – endolith Oct 31 '14 at 14:55

• Was very excited reading about scikit-learn, but its hard for me for now without "near" example. Will give a try to python dejavu. It uses fft to compare audio files. As advised in stackoverflow "the noise files by definition should have a much more even distribution than the normal ones". Suppose it can work. Anyway will learn about ML cause its interesting) – cask Oct 2 '14 at 10:31