phasor compl

FM phasor 0 and 180 degree outputs
Author: Johannes Taelman
License: BSD
Github: osc/phasor compl.axo

Inlets

frac32 phase increment

frac32buffer phase increment

Outlets

frac32buffer.positive phasor wave

frac32buffer.positive phasor wave, 180 degrees shifted

Parameters

frac32.s.map.pitch pitch

Declaration
uint32_t Phase;
Init
Phase = 0;
Control Rate
uint32_t freq;
MTOFEXTENDED(param_pitch + inlet_pitch, freq);
Audio Rate
Phase += (freq >> 0) + inlet_freq;
outlet_phasor0 = Phase >> 5;
outlet_phasor180 = (Phase + (1 << 31)) >> 5;

Privacy

© 2024 Zrna Research