IO Variants: 2
Variant: 1
frac32.bipolar Pitch input
frac32buffer.bipolar Freqeuncy modulation input
frac32buffer.bipolar 0 deg sine wave
frac32buffer.bipolar 90 deg sine wave
frac32buffer.bipolar 180 deg sine wave
frac32buffer.bipolar 270 sine wave
frac32.s.map.pitch pitch
uint32_t phase;
int32_t freq;
phase = 0;
MTOFEXTENDED(param_pitch + inlet_pitch, freq);
phase += freq + inlet_fm;
int32_t sine;
SINE2TINTERP(phase, sine)
outlet_0 = (sine >> 4);
SINE2TINTERP(phase + 0x40000000, sine)
outlet_90 = (sine >> 4);
outlet_180 = -outlet_0;
outlet_270 = -outlet_90;
Variant: 2
frac32.bipolar Pitch input
frac32buffer.bipolar Freqeuncy modulation input
frac32buffer.positive 0 deg sine wave
frac32buffer.positive 90 deg sine wave
frac32buffer.positive 180 deg sine wave
frac32buffer.positive 270 sine wave
frac32.s.map.pitch pitch
uint32_t phase;
int32_t freq;
phase = 0;
MTOFEXTENDED(param_pitch + inlet_pitch, freq);
phase += freq + inlet_fm;
int32_t sine;
SINE2TINTERP(phase, sine)
outlet_0 = (sine >> 5) + (1 << 26);
SINE2TINTERP(phase - 0x40000000, sine)
outlet_90 = (sine >> 5) + (1 << 26);
outlet_180 = (1 << 27) - outlet_0;
outlet_270 = (1 << 27) - outlet_90;