Max/MSP LFO

pierre puentes's icon

Basic LFO patch to control Max objects attributes. It converts signal values from a cosine wave to floating-point numbers. Frequency and range can be modulated. Hope it's useful to someone!

Max Gardener's icon
pierre puentes's icon

Hey thanks! That's a really good and complete tutorial.

Roman Thilenius's icon

there is about a dozen different methods how to create/replicate "low frequency oscillators" a for data.

the most straightforward in my opinion is to imitate how you would do itr in MSP.

1.
create a custom "phasor" abstraction using a metro and a line object.

optional: if you use a rate value for line which corresponds to the current metro frequency, you can make sure that every new cycle starts with outputting a "0.0"

if you plan to drive video stuff with it, make the whole thing dependend on "bang" inputs and bang it from the frame gerenator of the matrix you want to control with the LFO. this way it is always time exact even when overdrive is off (one might also use this method outside the context of jitter)

2.
now you can convert the phase to whatever you want.
you can read from a table or coll, you can multiply, add, shift, invert or "modulo" it until medical help is in order.
[* 2.]---[- 1.] makes it bipolar, [>= 0.5] creates a square, and for a cosine wave [cos] should be of help.

if you build the "phasor" so that you can retrigger it, you can imitate DSP techniques like sync, FM, sample and hold ...

Gregory Taylor's icon

Given that there are several links above, the 404 isn't particularly helpful - I've chased down the bit that isn't present, and have informed the Parties That Be.

Iain Duncan's icon

But that said, the 404 does have two LFOs! ;-)
http://www.vintagesynth.com/misc/ms404.php