quintphase vlfo

Very Low Frequency Oscillator cycle is the time of a cycle in seconds (up to 64s) 72° separated outputs.
Author: Smashed Transistors
License: LGPL
Github: tiar/lfo/quintphase_vlfo.axo

Inlets

None

Outlets

frac32.bipolar 0° sine

frac32.bipolar 72° sine

frac32.bipolar 144° sine

frac32.bipolar 216° sine

frac32.bipolar 288° sine

Parameters

frac32.u.map cycle

Declaration
uint32_t p;
Init
p = 0;
Control Rate
int32_t dp;

dp = 5592 * (0x7FFFFFFF / (param_cycle > 11185 ? param_cycle : 11185));

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