Fork of rtl_fm; retune and change modes without restart

Main forum to discuss RTL-SDR related topics.
Post Reply
sysrun
Posts: 2
Joined: Thu Aug 29, 2013 10:52 am

Fork of rtl_fm; retune and change modes without restart

Post by sysrun » Mon Oct 28, 2013 10:54 pm

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

michelinok
Posts: 3
Joined: Wed Sep 04, 2013 8:42 am

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

Post by michelinok » Mon Dec 29, 2014 6:17 pm

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?

Post Reply