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.

  • 3
    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: youtube.com/watch?v=DU-s2yWgEI8 – 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
  • 1
    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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.