frac32 cutoff frequency
frac32 width
frac32buffer input
frac32buffer output
frac32.u.map basefreq
frac32.u.map width
int32_t val;
int32_t val2;
val = 0;
val2 = 0;
int32_t f;
MTOF(param_basefreq + inlet_basefreq, f);
int32_t f2;
MTOF(__SSAT(param_width + inlet_width + param_basefreq + inlet_basefreq, 28),
f2);
val = ___SMMLA((inlet_in - val) << 1, f, val);
int32_t out = inlet_in - val;
val2 = ___SMMLA((out - val2) << 1, f2, val2);
outlet_out = val2;