An open API service indexing awesome lists of open source software.

https://github.com/do-me/play-the-radio

Speech recognition for playing the radio in 12 lines of code
https://github.com/do-me/play-the-radio

Last synced: 2 months ago
JSON representation

Speech recognition for playing the radio in 12 lines of code

Awesome Lists containing this project

README

        

# play-the-radio
Speech recognition for playing any web radio (or technically doing anything on the web) in 12 lines of code using Python´s speech recognition package and selenium.

For a small tutorial see [my blog](https://geo.rocks/post/speechrecognition).

Prerequistites:
- Anaconda virtual environment (for clean installation of all required packages and to avoid Pythons´s dependency hell)
- speech_recognition package
- selenium package
- geckodriver (Firefox), chromedriver (Chrome)

Feel free to adopt for other purposes:
- play youtube videos (i.e. from youtube, but take care of add blocking, see [stack overflow]( https://stackoverflow.com/questions/20832159/python-using-adblock-with-selenium-and-firefox-webdriver))
- play spotify (requires login every time)
- order pizza
... be creative!


![](play-the-radio.gif)