frac32buffer in
frac32 pitch
frac32 rms
frac32.s.map pitch
int32_t ms; // mean square
float rms;
ms = 0;
rms = 0;
outlet_rms = arm::float_to_q(rms, 27);
rms = sqrtf(arm::q_to_float(ms, 27));
// low pass coefficient can be controlled by input pitch
uint32_t coef;
MTOFEXTENDED(param_pitch + inlet_pitch, coef);
coef >>= 3;
ms = ___SMMLA(coef, (___SMMUL(inlet_in, inlet_in) << 5) - ms, ms);