frac32 cutoff
frac32 cutoff
frac32buffer input
frac32buffer low pass
frac32buffer high pass
frac32.s.map bias
frac32.u.map freqUp
frac32.u.map freqDown
frac32.u.map type
int32_t y, ratef, ratef2;
y = ratef = ratef2 = 0;
int32_t rateUp, rateDown;
MTOF(param_freqUp + inlet_freqUp, rateUp);
MTOF(param_freqDown + inlet_freqDown, rateDown);
int32_t bias = param_bias >> 6;
int32_t ref = ___SMMLA(inlet_in, param_type, bias) << 5;
outlet_lp = y =
___SMMLA((inlet_in - y) << 2, ((y < ref) ? rateUp : rateDown), y);
outlet_hp = (inlet_in - y) >> 1;