From Media Design: Networked & Lens-Based wiki
Jump to navigation Jump to search

This recipe is about transcribing FM radio shows with Speech Recognition.

  • Download the python script for that:
git clone
  • Follow the installation instructions BUT first erase the pyaudio and speech_recognition from the requirements file. After installing whats in the requirements file (pip install -r requirements.txt) do this:
pip install SpeechRecognition
sudo apt-get install libasound-dev
sudo apt-get install portaudio19-dev
pip install pyaudio –user
sudo apt install cmake
sudo apt-get install libusb-1.0-0-dev
git clone git://
cd rtl-sdr/
mkdir build
cd build
cmake ../
sudo make install
sudo ldconfig

  • Try
python --freq=95000000

if you get this error: Kernel driver is active, or device is claimed by second instance of librtlsdr. In the first case, please either detach or blacklist the kernel module (dvb_usb_rtl28xxu), or enable automatic detaching at compile time. usb_claim_interface error -6, then do this:

sudo rmmod dvb_usb_rtl28xxu rtl2832


blacklist dvb_usb_rtl28xxu 
blacklist rtl2832 
blacklist rtl2830