From 7d27d6f618e14aea72a08a1121552afb197ce355 Mon Sep 17 00:00:00 2001 From: Weird Constructor Date: Thu, 5 Aug 2021 05:22:46 +0200 Subject: [PATCH] make all the biquad cascades work --- src/dsp/node_biqfilt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsp/node_biqfilt.rs b/src/dsp/node_biqfilt.rs index eb95bd5..1a5af29 100644 --- a/src/dsp/node_biqfilt.rs +++ b/src/dsp/node_biqfilt.rs @@ -153,7 +153,7 @@ impl DspNode for BiqFilt { let gain = denorm::BiqFilt::gain(gain, frame); let mut s = inp.read(frame); - for i in 0..order { + for i in 0..=order { s = self.cascade[i as usize].tick(s); }