Page 1 of 1

Fork of rtl_fm; retune and change modes without restart

Posted: Mon Oct 28, 2013 10:54 pm
by sysrun
Hi,

build a modified version of rtl_fm - https://github.com/sysrun/rtl-sdr

Im using this for my nodejs project (live streaming)

rtl_udp is a copy of rtl_fm with a special feature: It opens a udp control port (currently fixed to 6020) which takes commands like changing the frequency or mode. No need to restart :)

Credits, Idea & original Code by Olgierd Pilarczyk (http://qi.reddit.com/user/olgierd)

Usage:
python script udpclient.py for easy operation included.

possible commands:
  • freq (./udpclient.py freq 101900000)
  • mode (./udpclient.py mode 0 (for fm))
    0 = FM
    1 = AM
    2 = USB
    3 = LSB
  • squelch (./udpclient.py squelch 0)
    0 = OFF
    n = Value
  • gain (./udpclient.py agc auto)
    auto = Automatic
    n = Gainvalue; 195 = 19.5db
  • agc (./udpclient.py agc 1)
    0 = OFF
    1 = ON

Re: Fork of rtl_fm; retune and change modes without restart

Posted: Mon Dec 29, 2014 6:17 pm
by michelinok
Doesn't seems to work ok...(testing on raspberry)

./rtl_udp -M fm -f 144.8M -A fast -s 22050 | play -r 22050 -t raw -e s -b 16 -c 1 -V1 -

no audio at all

instead..using rtl_fm works ok...

Any idea?