float AnalogFilter::filterout_s(float smp) { int i; if (needsinterpolation != 0) { for (i = 0; i < stages + 1; i++) smp=singlefilterout_s(smp, oldx[i], oldy[i], oldc, oldd); } for (i = 0; i < stages + 1; i++) smp=singlefilterout_s(smp, x[i], y[i], c, d); return(smp); };
float RBFilter::filterout_s (float smp) { int i; if (needsinterpolation != 0) { for (i = 0; i < stages + 1; i++) smp=singlefilterout_s (smp, st[i], ipar); needsinterpolation = 0; }; for (i = 0; i < stages + 1; i++) smp=singlefilterout_s (smp, st[i], par); return(smp *= outgain); };