jazzmutant lemur User Manual
85
• Click the Object button, choose MultiSlider from the list of objects, name the object
Env, and click OK.
• Click the Behavior tab in the Properties view for the MultiSlider, and set the number
of sliders to 4. Move and resize the MultiSlider so you can control each slider easily.
Maybe something like this or a little bigger?
Maybe something like this or a little bigger?
We’re going to use the first slider for Attack, the second for Decay, the third for Sustain,
and the fourth for Release. As with the x variables of all Lemur objects, the MultiSlider x
variable varies between 0 and 1. This is not really enough of a range for the time values of
our envelope, so we need to scale these values. We’ll need to create three Expressions,
one for each of the envelope’s time values.
and the fourth for Release. As with the x variables of all Lemur objects, the MultiSlider x
variable varies between 0 and 1. This is not really enough of a range for the time values of
our envelope, so we need to scale these values. We’ll need to create three Expressions,
one for each of the envelope’s time values.
• Click on the trig object in the Project Browser so that its name is selected.
Click the Expression button to create a new Expression.
If you don’t have the name of an object selected when clicking the
Expression button, a new global variable is created (it will go into the
Variables folder). For our purposes, adding variables to objects is a better
strategy, as they are transmitted more reliably.
Expression button, a new global variable is created (it will go into the
Variables folder). For our purposes, adding variables to objects is a better
strategy, as they are transmitted more reliably.
Name the expression Atk, press return, then enter the expression shown below:
This means that the Atk variable will use the value of the first slider in that MultiSlider
we just created.
we just created.