diff --git a/src/dsp/biquad.rs b/src/dsp/biquad.rs index 0139f7d..fe85964 100644 --- a/src/dsp/biquad.rs +++ b/src/dsp/biquad.rs @@ -234,7 +234,7 @@ impl Oversampling { let filters_len = self.filters.len(); for (i, filt) in self.filters.iter_mut().enumerate() { - let q = BiquadCoefs::calc_cascaded_butter_q(4, filters_len - i); + let q = BiquadCoefs::calc_cascaded_butter_q(2 * 4, filters_len - i); filt.set_coefs(BiquadCoefs::lowpass(ovr_srate, q, cutoff)); }