From 1a9bcdeb0749c90e78f563d4eb23842e5eb75d1c Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Tue, 6 Jul 2021 16:26:16 +0200 Subject: [PATCH] use new csdr++ deemphasis filters --- csdr/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csdr/__init__.py b/csdr/__init__.py index 4d07498..d167a2d 100644 --- a/csdr/__init__.py +++ b/csdr/__init__.py @@ -145,7 +145,7 @@ class Dsp(DirewolfConfigSubscriber): chain += ["csdr++ fmdemod", "csdr++ limit"] chain += last_decimation_block chain += [ - "csdr deemphasis_nfm_ff {audio_rate}", + "csdr++ deemphasis --nfm {audio_rate}", "csdr++ agc --format float --profile slow --max 3", ] if self.get_audio_rate() != self.get_output_rate(): @@ -160,7 +160,7 @@ class Dsp(DirewolfConfigSubscriber): "csdr++ limit", ] chain += last_decimation_block - chain += ["csdr deemphasis_wfm_ff {audio_rate} {wfm_deemphasis_tau}", "csdr++ convert -i float -o s16"] + chain += ["csdr++ deemphasis --wfm {audio_rate} {wfm_deemphasis_tau}", "csdr++ convert -i float -o s16"] elif self.isDigitalVoice(which): chain += ["csdr++ fmdemod"] chain += last_decimation_block