quintphase

72° separated outputs
Author: Smashed Transistors
License: LGPL
Github: tiar/lfo/quintphase_lfo.axo

Inlets

frac32.bipolar pitch

Outlets

frac32.bipolar 0° sine

frac32.bipolar 72° sine

frac32.bipolar 144° sine

frac32.bipolar 216° sine

frac32.bipolar 288° sine

Parameters

frac32.s.map.lfopitch pitch

Declaration
uint32_t p;
Init
p = 0;
Control Rate
int32_t dp;
MTOFEXTENDED(param_pitch + inlet_pitch, dp);
p += dp >> 2;
uint32_t pp = p;
int32_t r;
SINE2TINTERP(pp, r)
outlet_phi_space_0 = r >> 4;
pp += 858993459UL;

SINE2TINTERP(pp, r)
outlet_phi_space_72 = r >> 4;
pp += 858993459UL;

SINE2TINTERP(pp, r)
outlet_phi_space_144 = r >> 4;
pp += 858993459UL;

SINE2TINTERP(pp, r)
outlet_phi_space_216 = r >> 4;
pp += 858993459UL;

SINE2TINTERP(pp, r)
outlet_phi_space_288 = r >> 4;

Privacy

© 2024 Zrna Research