HI! with expresion mode x I tried this script for each pad:
if(x=1) Fader.x=0.1;
if(x=1) Fader.x=0.2;
....
but only the the first pad I configured works and I think it´s because this pads remains on. the other pads don´t respond well...
any help?
various pads to control the value of a fader
-
- Newbie
- Posts: 8
- Joined: 04 Oct 2010 12:26
Re: various pads to control the value of a fader
x for a set of pads is an array, you need to use:
if (x[0]) Fader.x = 0.1
if (x[1]) Fader.x = 0.2
etc...
if (x[0]) Fader.x = 0.1
if (x[1]) Fader.x = 0.2
etc...
-
- Liine Staff
- Posts: 126
- Joined: 14 Dec 2011 12:12
Re: various pads to control the value of a fader
You must use '==' to test for equality, not '='. Using '=' overwrites the value.vicbit wrote:HI! with expresion mode x I tried this script for each pad:
if(x=1) Fader.x=0.1;
if(x=1) Fader.x=0.2;
....
but only the the first pad I configured works and I think it´s because this pads remains on. the other pads don´t respond well...
any help?
Re: various pads to control the value of a fader
I need a individual pads to scroll containers and make a return pad to the main page.st8_livecontrol wrote:x for a set of pads is an array, you need to use:
if (x[0]) Fader.x = 0.1
if (x[1]) Fader.x = 0.2
etc...
That´s what I need!!axel_liine wrote: You must use '==' to test for equality, not '='. Using '=' overwrites the value.
Thanks to both