Formula DSP: Piecewise/Stepper LFO Slider

I can’t seem to find a convenient way of precisely adjusting a LFO’s frequency in piece wise matters. Figure since I got some coding background I create a small formula DSP that allows you to do piece/stepper LFO slider for Even and Triplet LPBs.

Static LFO Frequency Selector.xrdp (1.2 KB)

A = Freq Selector
B = Trip or Even (0 or 1)

lfo

Edit: Realized I made a stupid mistake in the code

4 Likes