jazzmutant lemur User Manual

Page of 107
 
84 
When the fader is moved, the OSC message /resfader.rezzo <value> is transmitted by the 
Lemur. In the Max patch, a route object captures this value and uses it to adjust the filter 
resonance. 
 
The resonance parameter of the lores~ object actually goes from 0 to 1. But the interesting 
range is between 0.8 and 1. Actually 1 is a little too interesting: the filter goes into self-
oscillation. So, the effect of rezzo is to restrict the the resonance range between 0.79 and 
0.97, and add some non-linear curvature. 
We’re doing something similar with the cutto variable inside the trig object. 
 
cutto = pow(trig.x, 1.7) * 1000 
Again, we apply non-linearity and scaling, so the output of the pad is now from 0 to 
1000 instead of 0 to 1. However, what you might not realize about this example is that 
the Lemur itself is generating the filter envelope. The pad object’s ADSR envelope is 
changing the x values continuously over time. But as you can see, we do not transmit the 
raw 0-1 values from the pad, since the x variable checkbox is not checked. Instead, the 0-1 
values are passed on to the cutto variable where they made non-linear in a way 
appropriate for frequency, scaled, and finally transmitted to the computer.  
Click on the trig Pad object in the JazzEditor, then click Behavior tab to see the values for 
the envelope.  
 
Using List Variables 
We’re going to expand this example, and create controls for Attack, Decay, Sustain, and 
Release. This will show how we can make use of list variables that consist of more than 
one value. Lists are used by the MultiSlider, Multiball, Pads, and Switches objects.