Page 1 of 1
various pads to control the value of a fader
Posted: 21 Feb 2012 13:52
by vicbit
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
Posted: 21 Feb 2012 14:02
by st8_livecontrol
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...
Re: various pads to control the value of a fader
Posted: 21 Feb 2012 14:19
by axel_liine
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?
You must use '==' to test for equality, not '='. Using '=' overwrites the value.
Re: various pads to control the value of a fader
Posted: 21 Feb 2012 14:34
by vicbit
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...
I need a individual pads to scroll containers and make a return pad to the main page.
axel_liine wrote:
You must use '==' to test for equality, not '='. Using '=' overwrites the value.
That´s what I need!!
Thanks to both