frac32buffer phase
frac32buffer.bipolar sine wave
frac32buffer 2
frac32.s.map 1
frac32.s.map 2
int32 rate
uint32_t Phase1;
uint32_t Phase2;
int32_t diff;
int32_t prev;
int32_t in = inlet_phase << 5;
diff = (in - prev) << param_rate;
Phase1 += diff > 0 ? ___SMMUL(diff << 4, param_1 << 4) : 0;
Phase2 -= diff < 0 ? ___SMMUL(diff << 4, param_2 << 4) : 0;
int32_t r;
SINE2TINTERP(Phase1, r)
outlet_1 = r >> 5;
SINE2TINTERP(Phase2, r)
outlet_2 = (r >> 5);
prev = in;