frac32.bipolar pitch
frac32buffer frequency
bool32 sync
frac32buffer phase
frac32buffer.bipolar sine wave
frac32.s.map.pitch pitch
uint32_t Phase;
bool strg;
Phase = 0;
int32_t freq;
MTOFEXTENDED(param_pitch + inlet_pitch, freq);
if ((inlet_sync > 0) && !strg) {
strg = 1;
Phase = 0;
} else if (inlet_sync == 0) {
strg = 0;
}
Phase += freq + inlet_freq;
int32_t r;
int32_t p2 = Phase;
SINE2TINTERP(p2, r)
outlet_wave = (r >> 4);
outlet_phase = Phase;