8000 GitHub - stevenryoung/RadioDelay: Python tool to delay radio (or any generic audio input)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

stevenryoung/RadioDelay

Repository files navigation

See https://github.com/stevenryoung/audio_delay_wasm for a browser based version of this that will capture a radio stream in the browser.

Sports Radio Delay

Python tool to delay radio (or any generic audio input)

Use

RADIO >> AUDIO CABLE >> PC >> (OPTIONAL) AUDIO CABLE >> (OPTIONAL) SPEAKERS

Run '''radiodelay/main.py''' and adjust delay as appropriate.

Why?

National broadcast announcers are not as interesting to listen to as local broadcasters when you are watching your team play. Thus, it is nice to listen to your local radio broadcast when you are watching the TV broadcast. However, radio broadcasts are often 10-30 seconds ahead of the TV broadcast and ruin the experience of watching the game. You cannot make your TV play the game sooner with your DVR, so you must make the radio play later. This tool allows you to do that.

Why not just get the radio broadcast online?

Online radio often does not allow you to pause in order to delay the radio. Tools could be written to capture these streams, but this would rely on the radio stations not changing their online player. There are probably some things that could be done to capture the audio from the online player, however, I just found this to be the simplest way to tackle the problem. It is simple enough, and reliable enough, for my purposes and is straight forward enough for both me to use and people I know who are only mildly tech literate.

Requirements

Python 2.7 (32-bit if using Windows) or Python 3.6

PyAudio

I have tested this on Ubuntu (using the packages from the Ubuntu repository) and Windows 7 (using the links above).

Pip Install

If installing via pip in Ubuntu or Mac OSX, make sure to install portaudio first (sudo apt install portaudio19-dev or brew install portaudio)

pip install radiodelay

python -m radiodelay

About

Python tool to delay radio (or any generic audio input)

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0