The Lemur User Manual
89
Even if you are not connected to a Lemur, the resulting Monitor Object will begin
changing immediately after you enter a time-based variable.
5.1.7.2.
LFO Example
This is an Expression using the time Variable that generates an LFO.
LFO = sin(time * 2) *0.5 + 0.5
You can display this in a SignalScope.
You can assign time-based variables to properties in Lemur Objects (such as Friction
or the ADSR envelopes) to create Objects that change over time. However, you can’t assign
them to the values of Objects (other than the Monitor and SignalScope), so you can’t use the
time variable to “animate” the purple ball in an Area.
5.1.8. Operators and Functions Reference
The following is a list of all internal Functions and Operators the Lemur parser
understands.
Try them out by creating a monitor Object and enter an Expression using the
Functions and Operators in the value field.
5.1.8.1.
Arithmetic
abs(x) : absolute value
abs(-2) = 2
ceil(x) : rounded value to higher integer
ceil(1.2) = 2
ceil(1.8) = 2
floor(x) : rounded value to the lower integer
floor(1.2) = 1
floor(1.8) = 1
max(a,b) : max of a and b