frac32 cutoff frequency
frac32buffer input
frac32buffer output
frac32.u.map freq
frac32.u.map slope
frac32.u.map.filterq res
frac32.u.map.filterq starve
int32_t val, hp, HP;
val = 0;
int32_t dif = inlet_in - val;
dif = dif > 0 ? -dif : dif;
int32_t f;
MTOF(__SSAT(param_freq + inlet_freq + ___SMMUL(dif << 1, param_slope << 4), 28),
f);
val = ___SMMLA((inlet_in - val + (___SMMUL(param_res, hp) << 5)) << 1, f, val);
outlet_out = val;
HP += ___SMMUL(val - HP, f) << 1;
hp = val - HP;
val -= ___SMMUL(val, param_starve) << 1;