slowphasor

phasor wave LFO, linear interpolated table, pitch input and octave down input
Author: Philoop
License: BSD
Github: phi/lfo/slowphasor.axo

Inlets

int32.positive div

frac32.bipolar pitch

Outlets

frac32.bipolar sine wave

Parameters

int32 div

frac32.s.map.lfopitch pitch

Declaration
uint32_t Phase;
Init
Phase = 0;
Control Rate
{
  int32_t freq;
  MTOFEXTENDED(param_pitch + inlet_pitch, freq);
  Phase += freq >> ((param_div + 1) + inlet_div);
  outlet_wave = Phase >> 5;
}

Privacy

© 2024 Zrna Research