Fork for modified rtl-sdr
SDR Stereo FM radio receiver for RTL dongles, with TimeShift and Recording. TimeShift function can go back some minutes in time to listen it again. Recording function to save WAV files.
RTL FM Player is a small tool to listen FM stereo radio by using a compatible DVB-T dongle. Is a console application that runs on Linux and Windows, all commands like changing stations and timeshifting is controlled by keyboard keys. Outputs stereo audio to sondcard using SDL library. Can record audio .wav file format.
The DVB-T dongle has to be based on the Realtek RTL2832U. See http://sdr.osmocom.org/trac/wiki/rtl-sdr for more RTL SDR details. You need to install a new driver to use this dongle.
-
Download Zadig driver from official zadig.akeo.ie site or my custom build Zadig winusb driver installer
- Plug in the RTL-SDR.
- Run Zadig as administrator by right clicking it and choosing run as administrator.
- Go to Options -> List all devices and make sure it is checked.
- In the drop down box choose Bulk-In, Interface (Interface 0). This may also sometimes show up as something prefixed with “RTL28328U”. That choice is also valid.
- Make sure that WinUSB is selected as the target driver and click on Replace Driver.
-
Download a compiled RTL FM Player here: >> Releases <<
-
Optional. Compile it on Linux, or Windows using MinGW.
On Linux, open a console and type ./rtl_fm_player
On Windows, just double click rtl_fm_player.exe
Warning, may be loud!
Use keyboard to control frequency, tuner gain, timeshift, mute and recording.
You can also open Command Prompt and type parameters manually:
C:\>rtl_fm_player.exe -h
./rtl_fm_player -h
Show all available parameters
rtl_fm_player -h
Start and tune to frequency in Hz
(97.7Mhz)
rtl_fm_player -f 97700000
Tune to frequency and record audio to FileName.wav
(Keyboard controls disabled)
rtl_fm_player -f 97700000 FileName.wav
On modern PCs (x86, x64) mono and stereo decoding should be possible easily.
Latency increase if SDL2 audio queue becomes larger. I clean the buffer when changing stations or Timeshifting.
Tested on Debian 10 "buster"+ and ubuntu 20.04 "focal"+
sudo apt install cmake libusb-1.0-0-dev libsdl2-dev pkg-config make gcc- Download sources
git clone --recursive https://github.com/Mr-Precise/rtl_fm_sdlplayer - Create and enter build dir
cd rtl_fm_sdlplayer && mkdir build && cd build - CMake configure:
cmake .. -DDETACH_KERNEL_DRIVER=ONcmake --build . --config Release
Use MinGW/msys/LLVM Clang/MXE etc...
libusb libusb/releases
Latest CMake Build System
SDL2 libsdl-org/SDL/tree/SDL2
-
This project is based on RTL SDR FM Streamer by Albrecht Lohoefener
-
Libusb. A cross-platform library that gives apps easy access to USB devices
-
Simple DirectMedia Layer development library
- RTL SDR FM Streamer
- FM Radio receiver based upon RTL-SDR as pvr addon for KODI
- rtl_fm
- This tool is the base of rtl_fm_streamer
- http://sdr.osmocom.org/trac/wiki/rtl-sdr
- sdr-j-fmreceiver
- GPRX