frac32 gain input
frac32buffer audio input
frac32buffer harmonics
frac32buffer output
int32_t prev;
int32_t step;
int32_t val;
step = (inlet_v - prev) >> 4;
int32_t i = prev;
prev = inlet_v;
int32_t freq;
MTOF(i - (1 << 26) << 1, freq)
val = ___SMMLA((inlet_harmonics - val) << 1, freq, val);
int32_t out = ___SMMUL(i << 3, val - inlet_sine << 2) + inlet_sine;
outlet_o = ___SMMUL(out << 3, i << 2);
i += step;