Created
March 1, 2019 14:12
-
-
Save jj1bdx/e76eb0bd3dab03d80f08e0543160307d to your computer and use it in GitHub Desktop.
Scripts to retrieve MPX (FM demodulated) output for FM broadcasting with RTL-SDR / Airspy and csdr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# 88.1MHz (10Msps, Set 500kHz upper freq) | |
# CF32 IQ signal decimated to 768kHz first, | |
# FM decoded to real signal, | |
# then decimate by 4 to 192kHz CF32 output | |
airspy_rx -r/dev/fd/1 -p0 -f88.6 -a10000000 -t0 -g7 | \ | |
csdr shift_addition_cc 0.05 | \ | |
csdr fir_decimate_cc 13.028333333333 0.05 HAMMING | \ | |
csdr fmdemod_quadri_cf | csdr fractional_decimator_ff 4 | |
#!/bin/sh | |
# 88.1MHz (1Msps, Set 200kHz upper freq) | |
# CF32 IQ signal decimated to 500kHz first, | |
# FM decoded to real signal, | |
# then decimate by 2.604166666 to 192kHz CF32 output | |
rtl_sdr -s 1000000 -f 88300000 -g 3.7 - | | |
csdr convert_u8_f | csdr shift_addition_cc 0.2 | | |
csdr fir_decimate_cc 2 0.05 HAMMING | \ | |
csdr fmdemod_quadri_cf | csdr fractional_decimator_ff 2.6041666666666 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment