make all the biquad cascades work

This commit is contained in:
Weird Constructor 2021-08-05 05:22:46 +02:00
parent f9b4509dd9
commit 7d27d6f618

View file

@ -153,7 +153,7 @@ impl DspNode for BiqFilt {
let gain = denorm::BiqFilt::gain(gain, frame); let gain = denorm::BiqFilt::gain(gain, frame);
let mut s = inp.read(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); s = self.cascade[i as usize].tick(s);
} }