From ef7aeaafa9bedb2e3166101c9d104bfe5db7a05d Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Mon, 28 Dec 2015 15:56:51 -0800 Subject: [PATCH] Tweak (and document!) audio HPF IIR. --- firmware/baseband/dsp_iir_config.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/baseband/dsp_iir_config.hpp b/firmware/baseband/dsp_iir_config.hpp index e20a51fc..961900c1 100644 --- a/firmware/baseband/dsp_iir_config.hpp +++ b/firmware/baseband/dsp_iir_config.hpp @@ -24,9 +24,10 @@ #include "dsp_iir.hpp" +// scipy.signal.butter(2, 300 / 24000.0, 'highpass', analog=False) constexpr iir_biquad_config_t audio_hpf_config { - { 0.93346032f, -1.86687724f, 0.93346032f }, - { 1.0f , -1.97730264f, 0.97773668f } + { 0.97261390f, -1.94522780f, 0.97261390f, }, + { 1.00000000f, -1.94447766f, 0.94597794f, } }; constexpr iir_biquad_config_t non_audio_hpf_config {