FM Stereo Reception on RTL2832 DVB dongle

For Mac OSX users with acess to the Realtek RTL2832 based DVB dongle, I am adding a link to a download of a small utility you can use for listening  to FM radio in Stereo.

rtlfms.zip download

The default rtl software library, comes with rtl_fm – and allows you to listen to FM radio stations – but only in MONO.

This allows you to listen to stations in STEREO.

1) Copy the compiled rtlfms executable to your /usr/local/bin
OR you can compile it yourself from the source provided.

2) You need to also have libusb.1.0 installed at /usr/local/lib.
If you dont have it, you can find the source, compile, install
It may also work if you just copy the supplied files in the /usr/local/lib folder accross to your machine.

3) Install ‘sox’ on your machine – we use it to play the audio.

4) Once you have taken care of all the dependencies, this is how you can listen to a FM Stereo station broadcasting on 94.7 MHz.

rtlfms -X -f 94.7M -g 30 -D 0.000015 | play -traw -r48k -es -b16 -c2 -V3 –

Do the usual rtlfms –help for details on the parameter values.

5) The source code for this was discovered on a newgroup paste.
I have not been able to find it anywhere on a git/svn repo.
It is based on the rtl_fm.c from the standard rtl package, but with several enhancements.
The source is included in the src folder here.

You can of course also use the very powerfull Gqrx – but rtlfms is especially ‘lightweight’ and consumes minimal PC processing power and does not put the same drain on a battery as Gqrx would as their approach to decoding is very different. rtlfms uses a lot more of the demodulation capabilities of the dongle itself.

Enjoy.

 

Leave a comment