tri_p

Dual phase triangle LFO, positive outpuit
Author: Are Leistad
License: BSD
Github: tiar/lfo/tri_p.axo

Inlets

frac32.bipolar pitch

frac32.bipolar phase

Outlets

frac32.positive out1

frac32.positive out2

Parameters

frac32.s.map.lfopitch pitch

Declaration
int32_t p;
Init
p = 0;
Control Rate
int32_t dp;
MTOFEXTENDED(param_pitch + inlet_pitch, dp);
p += dp >> 2;
outlet_out1 = abs(p) >> 4;
outlet_out2 = abs(p + (inlet_phase << 4)) >> 4;

Privacy

© 2024 Zrna Research