Rename IIR filter for 300Hz high-pass.

This commit is contained in:
Jared Boone 2016-01-01 20:53:11 -08:00
parent ff05833b02
commit 9a0fb2cab7
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
#include "dsp_iir.hpp"
// scipy.signal.butter(2, 300 / 24000.0, 'highpass', analog=False)
constexpr iir_biquad_config_t audio_hpf_config {
constexpr iir_biquad_config_t audio_hpf_300hz_config {
{ 0.97261390f, -1.94522780f, 0.97261390f, },
{ 1.00000000f, -1.94447766f, 0.94597794f, }
};

View File

@ -54,7 +54,7 @@ private:
dsp::demodulate::AM demod;
IIRBiquadFilter audio_hpf { audio_hpf_config };
IIRBiquadFilter audio_hpf { audio_hpf_300hz_config };
SpectrumCollector channel_spectrum;
};

View File

@ -61,7 +61,7 @@ private:
dsp::demodulate::FM demod;
IIRBiquadFilter audio_hpf { audio_hpf_config };
IIRBiquadFilter audio_hpf { audio_hpf_300hz_config };
IIRBiquadFilter audio_deemph { audio_deemph_300_6_config };
FMSquelch squelch;