From 554ef920c49c7abdd06a17e2e7866ebba6a3de1d Mon Sep 17 00:00:00 2001 From: F5OEO Date: Mon, 11 Mar 2024 11:34:45 +0100 Subject: [PATCH] pifmrds at 20khz lowpass and install pifmrds --- src/Makefile | 3 ++- src/pifmrds/fm_mpx.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 784ea04..05122da 100644 --- a/src/Makefile +++ b/src/Makefile @@ -107,4 +107,5 @@ install: all install -m 0755 ../rpitx $(INSTALL_DIR) install -m 0755 ../pift8 $(INSTALL_DIR) install -m 0755 ../sendook $(INSTALL_DIR) - install -m 0755 ../dvbrf $(INSTALL_DIR) \ No newline at end of file + install -m 0755 ../dvbrf $(INSTALL_DIR) + install -m 0755 ../pifmrds $(INSTALL_DIR) \ No newline at end of file diff --git a/src/pifmrds/fm_mpx.c b/src/pifmrds/fm_mpx.c index 5b4e00d..9df3818 100644 --- a/src/pifmrds/fm_mpx.c +++ b/src/pifmrds/fm_mpx.c @@ -117,7 +117,7 @@ int fm_mpx_open(char *filename, size_t len) { } // Choose a cutoff frequency for the low-pass FIR filter - float cutoff_freq = 15700; + float cutoff_freq = 20000; //float cutoff_freq = 3000; //For NBFM if(in_samplerate/2 < cutoff_freq) cutoff_freq = in_samplerate/2 * .8;