Using Menu's to Control Faders

Discuss Lemur and share techniques.
Post Reply
rockdude9k
Newbie
Posts: 15
Joined: 24 Aug 2016 00:28

Using Menu's to Control Faders

Post by rockdude9k »

Hi, so I'm trying to use a menu and a variable to control a fader.

I've got this working.

if (Menu.selection==0)Fader.x=0;
else if (Menu.selection==1)Fader.x=0.5;
else if (Menu.selection==2)Fader.x=1;



But not this

decl vari, i;
i = round(Fader.x*2);

if (Menu.selection==0)i=0;
else if (Menu.selection==1)i=1;
else if (Menu.selection==2)i=2;


Any help would be greatly appreciated!
Post Reply