IF statement with more than one parameter
Posted: 23 Jun 2016 15:55
Hello Lemur Forum!
I've been working on a softsynth controller and would like to select the LFO speed using two drop-down menus:
Denominator (1/2, 1/4)
Type (Straight, Dotted)
Based on these combinations I'd then send the respective value to the LFO speed knob on the softsynth.
However, I can't seem to find a way to combine two conditions in one IF statement, such as:
if denominator = 1 and type = 0 then set lfospeed = 0.138
Does anybody know the correct syntax for this?
Thanks for your help!
K.
I've been working on a softsynth controller and would like to select the LFO speed using two drop-down menus:
Denominator (1/2, 1/4)
Type (Straight, Dotted)
Based on these combinations I'd then send the respective value to the LFO speed knob on the softsynth.
However, I can't seem to find a way to combine two conditions in one IF statement, such as:
if denominator = 1 and type = 0 then set lfospeed = 0.138
Does anybody know the correct syntax for this?
Thanks for your help!
K.