frac32buffer input
frac32buffer PM
frac32 pm
frac32buffer output
frac32.u.map phase
int32_t val01;
int32_t val02;
int32_t val03;
int32_t Phase;
int32_t phase;
int32_t phs01a;
int32_t phs02a;
int32_t fade;
int32_t ccompl;
int32_t f01;
int32_t f02;
val01 = 0;
val02 = 0;
val03 = val03 + ((param_phase + inlet_pm - val03) >> 12);
Phase = (inlet_PM + val03) & ((1 << 27) - 1);
phase = (Phase + (1 << 26)) & ((1 << 27) - 1);
SINE2TINTERP((Phase + (1 << 25)) << 5, fade)
fade = (fade >> 5) + (1 << 26);
ccompl = (1 << 27) - fade;
MTOF(Phase, f01);
MTOF(phase, f02);
val01 = ___SMMLA((inlet_in - val01) << 1, f01, val01);
phs01a = (val01 - inlet_in) + (val01);
val02 = ___SMMLA((inlet_in - val02) << 1, f02, val02);
phs02a = (val02 - inlet_in) + (val02);
outlet_out =
___SMMUL(fade << 3, phs02a << 2) + ___SMMUL(ccompl << 3, phs01a << 2);