phazorFM

phasor saw wave like oscillator Uses frequency dependent thru-zero FM. Features an FM-index input
Author: SirSickSik
License: BSD
Github: sss/osc/phazorFM.axo

Inlets

frac32buffer phase increment

frac32 pitch

frac32 FMW

Outlets

frac32buffer.positive phasor wave

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
int32_t FM = ___SMMUL(inlet_freq << 3, freq << 4);
FM = ___SMMUL(FM << 3, inlet_FMW << 2);

Phase += freq + FM;
outlet_phasor = Phase >> 5;

Privacy

© 2024 Zrna Research