Listen to radio FM/DAB with RTL2832U
Last update
2023-12-01
2023-12-01
« — »
1 2 | # /etc/udev/rules.d/10-local_rtl-sdr.rules SUBSYSTEM=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00d3", GROUP="audio", MODE="0666", SYMLINK+="rtl-sdr" |
1 2 | # reload udev and plug the usb RTL2832U stick udevadm control --reload-rules && udevadm trigger |
FM
Using cubicsdr FM app (GUI):
1 2 | apt install cubicsdr CubicSDR |
Using rtl-sdr
:
1 2 3 4 | apt install rtl-sdr
# play a FM radio station at freq. 107300000Hz with 6x sampling
rtl_fm -f 107.30e6 -M wbfm -s 200000 -r 48000 - | aplay -r 48000 -f S16_LE
|
DAB
Using welle.io:
1 2 3 | apt install welle.io
welle-io # GUI
welle-cli -c 7D -p R101
|
Using dablin + dabtools/eti-cmdline:
1 2 3 4 5 6 7 8 9 10 | # compile dabtools git clone https://github.com/Opendigitalradio/dabtools.git && cd dabtools mkdir -p mybuild && cmake -DCMAKE_BUILD_TYPE=Release -S . -B mybuild cmake --build mybuild find -type f -executable mybuild mv mybuild/src/dab2eti mybuild/src/eti2mpa ~/bin/ # dablin apt-get install dablin dablin -D dab2eti -d ~/bin/dab2eti -c 12C -l R101 |
Using terminal-DAB-xxx:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | apt-get install \ git cmake build-essential g++ pkg-config libsndfile1-dev libfftw3-dev portaudio19-dev zlib1g-dev libusb-1.0-0-dev libsamplerate0-dev ncurses-base \ libfaad-dev librtlsdr-dev git clone https://github.com/JvanKatwijk/terminal-DAB-xxx.git cd terminal-DAB-xxx mkdir build && cd build cmake .. -DRTLSDR=ON -DFAAD=ON -DPICTURES=OFF make mv terminal-DAB-rtlsdr t-dab && strip t-dab # http://www.air-radio.it/T_DAB.html # 12A EuroDAB http://www.litaliaindigitale.it/radio-dab/mux-eurodab-italia # 12C DAB Italia https://www.dab.it # 12D DAB+ RAI http://www.rai.it/dl/DigitalRadio/dab_raiway.html ./t-dab -Q -C 12C -S R101 # play service "R101" on channel "12C" with autogain |
See also: opendigitalradio.org, Qt-DAB app