various pads to control the value of a fader

Discuss Lemur and share techniques.
Post Reply
vicbit
Newbie
Posts: 8
Joined: 14 Dec 2011 10:52

various pads to control the value of a fader

Post 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? ;)
st8_livecontrol
Newbie
Posts: 8
Joined: 04 Oct 2010 12:26

Re: various pads to control the value of a fader

Post 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...
axel_liine
Liine Staff
Posts: 126
Joined: 14 Dec 2011 12:12

Re: various pads to control the value of a fader

Post 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.
vicbit
Newbie
Posts: 8
Joined: 14 Dec 2011 10:52

Re: various pads to control the value of a fader

Post 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 ;)
Post Reply