General

IF statement with more than one parameter

Started by Kabuki on .

Sign in or create an account to join the conversation.

3 posts

Topic starter
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.