frac32 pitch
frac32 filter resonance
int32 m
frac32buffer filter input
frac32buffer m
frac32buffer filter output
frac32.s.map.pitch p
frac32.u.map.filterq r
frac32.s.map g
int32.hradio m
biquad_state bs;
biquad_coefficients bc;
int32_t out;
biquad_clearstate(&bs);
int a = (param_m + inlet_m) & 3;
if (a > 0) {
int32_t freq;
MTOF(param_p + inlet_p, freq);
if (a == 1)
biquad_bp_coefs(&bc, freq, INT_MAX - (__USAT(inlet_r + param_r, 27) << 4));
if (a == 2)
biquad_lp_coefs(&bc, freq, INT_MAX - (__USAT(inlet_r + param_r, 27) << 4));
if (a == 3)
biquad_hp_coefs(&bc, freq, INT_MAX - (__USAT(inlet_r + param_r, 27) << 4));
biquad_dsp(&bs, &bc, inlet_i, outlet_m);
}
if (a > 0) {
outlet_s = ___SMMUL(param_g << 4, outlet_m << 3) + inlet_i;
} else {
outlet_s = inlet_i;
outlet_m = inlet_i;
}