Download Latest Version fmplot.tar.xz (3.2 kB)
Email in envelope

Get an email when there's a new version of fmplot

Home
Name Modified Size InfoDownloads / Week
fmplot.tar.xz 2019-05-06 3.2 kB
readme.md 2019-05-06 883 Bytes
Makefile 2019-05-06 31 Bytes
n5.c 2019-05-06 6.7 kB
Totals: 4 Items   10.7 kB 0

This was originally written as a way to find nrsc5 (HD FM) stations, see

https://github.com/theori-io/nrsc5/issues/103

What it does is to scan the US FM broadcast band, 88-108 MHz using rtl_power, then plot the spectrum to a .png file using Gnuplot. So you need to have Gnuplot installed, and rtl_power, which has been part of some versions of the rtlsdr suite. There are several forks of rtl_power, this was designed to work with Kyle Keene's original version. (I think)

Compile by typing make, run by typing ./n5, it takes maybe 15 seconds and produces a 10000 x 800 pixel .png file. You need to be able to scoll sideways in it, opening it in Firefox works.

To change it to work with a different range of frequencies, you'll need to change the frequencies fed to rtl_power in live(), also the numbers fed to gnuplot to label the X axis in run_gnuplot (the set xtics line).

Source: readme.md, updated 2019-05-06