From e39613ab3448e37c09027b250dcc7addcfeebec1 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Mon, 4 May 2020 04:24:33 +0200 Subject: [PATCH] filters: forgot changing one case of smoothBiquad --- src/sfizz/dsp/filters/filters_modulable.dsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfizz/dsp/filters/filters_modulable.dsp b/src/sfizz/dsp/filters/filters_modulable.dsp index 2d4b9907..e57d94c3 100644 --- a/src/sfizz/dsp/filters/filters_modulable.dsp +++ b/src/sfizz/dsp/filters/filters_modulable.dsp @@ -28,7 +28,7 @@ smoothBiquadTf2(s,b0,b1,b2,a1,a2) = biquadTf2(b0:s,b1:s,b2:s,a1:s,a2:s); // g : gain in decibel, for peaking and shelving types only // q : height of the resonant peak in linear units //------------------------------------------------------------------------- -rbjLpfSmooth(s,f,g,q,x) = (rbj.filtercoeff(f,g,q).LPF,x) : smoothBiquad(s); +rbjLpfSmooth(s,f,g,q,x) = (rbj.filtercoeff(f,g,q).LPF,x) : smoothBiquadTf2(s); rbjHpfSmooth(s,f,g,q,x) = (rbj.filtercoeff(f,g,q).HPF,x) : smoothBiquadTf2(s); rbjBpfSmooth(s,f,g,q,x) = (rbj.filtercoeff(f,g,q).BPF,x) : smoothBiquadTf2(s); rbjNotchSmooth(s,f,g,q,x) = (rbj.filtercoeff(f,g,q).notch,x) : smoothBiquadTf2(s);