diff --git a/README.md b/README.md index 4a6a127..fd0605b 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ FM95 is a audio processor for FM, it does: - Pre-Emphasis +- Low Pass Filter - Stereo - Polar Stereo - SCA @@ -33,17 +34,7 @@ Done! ## CPU Usage? -Should run completly fine on a pi 5, right now with the preemp and rds2, on a pi 3b, its 25%-27% - -## Recommendations - -use a lpf, for example swh-plugins's lowpass_iir, for example: - -```bash -pactl load-module module-null-sink sink_name=FM_Audio rate=48000 # this goes to fm95 -pactl load-module module-ladspa-sink sink_name=FM_Audio_lpf sink_master=FM_Audio plugin=lowpass_iir_1891 label=lowpass_iir control=15000,6 rate=48000 # use 4 poles minimum, i recommend 6 -pactl load-module module-loopback source=radio_audio.monitor sink=FM_Audio_lpf rate=48000 # from the apps to the filter -``` +Should run completly fine on a pi 5, right now with the preemp and rds2, on a pi 3b, its 50-70% (without lpf its more like 25%-27%) ## Other Apps diff --git a/lib/filters.h b/lib/filters.h index 0d585fc..cb56adb 100644 --- a/lib/filters.h +++ b/lib/filters.h @@ -5,7 +5,7 @@ #include "constants.h" #include "oscillator.h" -#define LPF_ORDER 7 +#define LPF_ORDER 10 typedef struct {