{"repo":"denis-stepanov/advent","free":true,"listed":false,"github":"https://github.com/denis-stepanov/advent","clone":"git clone https://github.com/denis-stepanov/advent.git","description":"Vent intrusive TV ads","language":"Python","stars":26,"topics":["advertising","commercial","control","dejavu","fedora","harmony","hifiberry","mute","postgresql","pulseaudio"],"license":"GPL-3.0","category":"databases-storage","readme_excerpt":"AdVent This program combats TV commercials on the fly by detecting ad jingles in the input audio stream and sending mute commands to a TV. Watch AdVent in action (make sure to turn the video sound on): https://user-images.githubusercontent.com/22733222/174403887-37918d1e-da37-4cf5-9d7b-b04677ce8e2a.mp4 Here AdVent is running next to a TV stream in browser, watched by a user using headphones. When an ad kicks in, AdVent cuts the sound. A bit jerky video is a result of me capturing demo video on a ten years old laptop. Once the ads are over, AdVent turns the sound back on (not part of this demo). Web TV is nice for testing, but the main target are conventional TV-sets. Here is an example of AdVent on a Raspberry Pi equipped with a sound card controlling a Sony BRAVIA TV-set: How Stuff Works AdVent functions by comparing live sound with a database of known ad jingles using open source sound recognition software Dejavu. Because of Dejavu doing all the heavy lifting, AdVent code is ridiculously small - the core consists of circa 50 lines of code; the rest being nice-to-have sugar. A database of jingles is available as a separate repository AdVent Database and is open for contributions. There is no need to inform AdVent of an exact channel you are watching - it will probe for all known channels simultaneously. A diagram below shows in blue a standard workflow for a person listening to a TV and muting TV sound with a remote. AdVent is added in parallel (path in orange), using the sa","default_branch":null,"files":null,"tree":[],"storefront":"/r/denis-stepanov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/denis-stepanov/advent/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}