Lurker News

Comments (731) 147 threads

Show all comments

Showing thread 4 of 147

t0mek8 replies#
I used DSP to recognize the commercials in the radio broadcast on my stereo receiver and turn down the volume automatically ("adblock for the radio broadcast"). I described it here: http://blog.rekawek.eu/2016/02/24/radio-adblock/
spuz#
That is genius.
minhazm4231 reply#
im getting an error
t0mek1 reply#
Sorry, I had some DNS issues. It should be fine now.
stevekemp#
Obligatory plug:

I automated handling DNS updates via simple "git pushes" - Lets you revert from bad changes, and gives you a good history of changes over time - https://dns-api.com/

sgroppino2 replies#
This for TV would be great!
dest1 reply#
Great work! I have been working for a while on a similar adblock, but that does not need jingles to detect ads. I'm on my way to open source it. A radio player with adblocking included is available at https://www.adblockradio.com
MaxikCZ1 reply#
Would be great to have ability to add custom stations. Would it work too?
dest#
I think so. Are you thinking about a station in particular?

Not promising anything, because each station requires time to tune and money for computational resources.

amelius3 replies#
> The commercial block starts and finishes with a jingle, so the potential software should recognize these specific sounds and turn off the volume between them.

I suppose that many stations don't have such markers though.

t0mek6 replies#
Indeed. I see two options here.

First is to analyze the other signal features of the commercials (eg. increased volume), although it may be tricky.
The other option is a crowd-sourced solution - pretty much as for the browser adblock - where users can mark samples recognized as ads. Since the publishers often buy campaigns for many stations in the same country or state, it may be a shared database.
On the other hand, the described project only scratches my own itch. I wouldn't try to productise an app that takes away the main source of income for the radio stations.

amelius2 replies#
> I see two options here.

Yes, or perhaps a combination of techniques. E.g. shared database to train an ML system to detect ads. Of course, the downside is that the ad industry will then tweak the ads until they pass the ML test.
> I wouldn't try to productise an app that takes away the main source of income for the radio stations.
I wouldn't think of it as taking away a source of income, but rather as forcing them to find a source that doesn't bother their customers so much. Ad blockers seem to be getting more accepted.

dest10 replies#
Do you have an idea how could such a database of copyrighted material be shared? (Asking for a friend...)

Continue this thread — 10 replies

ambicapter#
> Of course, the downside is that the ad industry will then tweak the ads until they pass the ML test.

Nothing like a little competition to motivate the improvement of ML systems :)

jdc1 reply#
I think you'd want to look for dynamic range compression among other things.

Continue this thread — 1 reply

tga7 replies#
How about a third option, ads are by definition short and repeat a lot.

No fancy ML needed, after a couple of times the filter gets one of these repeating fragments it should be able to block it. Fairness bonus: you get to hear each new ad a couple of times.

Continue this thread — 7 replies

Kadin2 replies#
Easier still... in the US, many radio stations transmit the artist and song title that's currently being played, via a low-bitrate subcarrier encoding. (The proper name is "Radio Data System", IIRC.)

There were previously some FM to MP3 "ripping" tools that would use the RDS information to tag the resulting recordings -- I'm not sure of the status of them. But it could provide a good way to detect commercials, since most radio stations change to a generic station identification message when they break for commercials / banter. (Whether you'd also want to turn down for banter is another question.)

Continue this thread — 2 replies

criddell#
> I wouldn't try to productise an app that takes away the main source of income for the radio stations.

Do you have similar objections to things like self-driving vehicle technology that will take away the main source of income for truck drivers?

bonestamp2#
> analyze the other signal features of the commercials (eg. increased volume), although it may be tricky

My home theater receiver does this (Marantz). It works pretty well. It doesn't cancel out the TV commercials though, it just normalizes the volume so it matches the show. But, I assume you could make it work for muting too.

scraft#
I wonder, if you accepted a little delay, say 20 seconds, could you use Shazam to identify what song is currently playing? I have been amazed at the range of music Shazam can identify, if you could do regularly queries and separately listen out for gaps in music, it seems plausible to be able to identify when a non-song (from Shazam's perspective) is playing.
VMG#
At least in Germany, they all have. Also you could almost time it, since commercials start ~5mins before the full hour (where the news comes on).

I've often toyed with the same idea of the parent poster

mikec3010#
This Is great. I wanted to do something similar with a TV. Mic detects commercial signature and sends mute command via IR interface. I'm just an idea man though who never followed through.
askvictor#
I would like something like this, but to cut out all non-music (i.e. talking, interviews, etc). Would tensorflow be able to be trained to detect just speech vs music? It would obviously fail if there is speech with background music, but that isn't too common outside of Jamaica (and reggae stations/shows)