Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to listen to talkshows and newsreports from a certain radio station but not to their music. How do I automate the process of detecting the music, and silencing the stream?

Currently my only solution is to turn down the volume manually, and then wait for a few minutes to see if the music is over. I would like to automate this process if possible.

share|improve this question
This is possible, to a degree, but not simple. You need to run a FFT on the sound and analyze it's spectrum. You might actually get a question accepted here. – Daniel R Hicks Jul 2 '13 at 12:02
"What is music?" is a philosophical question that humans cannot answer, let alone machines programmed by humans. You're better of checking for a change in sound signature, such as suddenly a wider spectrum is used, vs the sound of a voice or two. – Brad Jul 2 '13 at 15:53
What is music? What is love: – Justin Pearce Jul 2 '13 at 16:00
@Brad: I'm talking about a nationwide radio broadcast context, so this might simplify the problem and help defining "music". I am not talking about evey kind of philosophical ways of defining music, but a certain subset of it called "commercial hits of the moment". I refuse to believe I am the first to wonder the question or that there is no previous work on the subject. I am just unable to fully use my non-native English to dig deeper into web search engines. – Costin Gușă Jul 2 '13 at 18:19
I found several approaches Googling "filter speech music". They are highly technical papers, probably only useful if you want to do programming. But maybe there's some references in these papers you can use. – Jan Doggen Jul 2 '13 at 18:49

You must log in to answer this question.

Browse other questions tagged .