README.md

XXX-RADIO

XXX-radio, a command line FM demodulator for the SDRplay and AIRSpy

Input - depending on the configuration - is through an SDRplay device
(either RSP1 or RSP2) or an Airspy device. All parameters
are set using the command line. Output is to a file (or stdout if
no file is selected). The inputrate is internally converted to
a working rate of 192000, so FM stereo decoding is possible.

The "radio" is modelled after the fm radio for the RTLSDR device.
All rights gratefully acknowledged.

The command line parameters are

-f Frequency in Hz
-F Frequency in kHz
A frequency HAS to be specified, it is the only value for
which there is no default value.
-p ppm_correction (default: 0)
-M Mode select, default fm-mono. Other modes are
fm-stero, and HARDLY TESTED: am, usb and lsb and raw.
In the latter mode
the signal is just band filtered to the audiorate,
decimated and passed on.
-D enables de-emphasis (default: off), useful for FM
-Z enables lowpass filtering (default: off) of the audiosignal
-s audio frequency, default is 22050
-g tuner_gain. For the sdrplay the value will be scaled to an
value for lna gain reduction. If gain reduction is set to automatic.
-O output filename ( a '-' dumps output to stdout, as does
omitting a filename.)

The last line is the command (again, for XXX_radio read sdrplay_radio or airspy_radio whichever you configured) for getting the messages of the P2000 system in the Netherlands. It - obviously - assumes that you have installed multimon.

is the normal way of generating an executable and
installing it in /usr/local/bin

Packages needed

To create the executable the following packages are needed

a. fftw used in filtering

b. pthreads

c. libsndfile

d. libsamplerate used in non integer decimation

Copyright

Copyright (C) 2013, 2014, 2015, 2016, 2017
Jan van Katwijk (J.vanKatwijk@gmail.com)
Lazy Chair Computing
This software is made available under the GPL-2.0.
The SDR-J software, of which this software is a part,
is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.