frac32 pitch
frac32 resonance
frac32buffer in
frac32buffer iv
frac32buffer freq
frac32buffer output
frac32.u.map freq
frac32.u.map resonance
frac32.u.map mode
frac32.u.map mod
int32_t val;
int32_t rate;
int32_t diff;
val = 0;
rate = 0;
int32_t resonance = (1 << 27) - __USAT(param_resonance + inlet_resonance, 28);
resonance = ___SMMUL(resonance << 2, resonance << 2);
int32_t in;
in = (inlet_in - inlet_iv);
diff = in - val;
int32_t f;
MTOF(param_freq + inlet_pitch + inlet_freq -
___SMMUL(((diff > 0 ? diff : -diff)) << 3, param_mod << 1),
f);
rate = ___SMMLA((diff) << 1, f, rate);
rate = rate - ___SMMUL(rate << 3, ((1 << 21) + resonance) << 2);
val += rate;
outlet_out = val - ___SMMUL(in << 3, param_mode << 2) + (inlet_iv);