frac32 input
frac32 output
frac32.u.map risetime
frac32.u.map falltime
int32_t val;
val = 0;
if (inlet_in > val)
val = ___SMMLA(val - inlet_in, (-1 << 26) + (param_risetime >> 1), val);
else
val = ___SMMLA(val - inlet_in, (-1 << 26) + (param_falltime >> 1), val);
outlet_out = val;