Best way to do running lights
Posted: 11 Nov 2012 19:57
I want to implement a running light with either an Led object, or a pad object (1 row of 16).
Now, i get a Note On signal that delivers me the step to be light in a variable.
But just cant figure out how to lit unlit a single led i though i can do it like this:
setattribute(Leds[step],'value',1);
or
setattribute(Pads[step],'color',{1111111,2222222);
But it doesn't work. How can i lit/unlit single Leds/Pads in a row?
Now, i get a Note On signal that delivers me the step to be light in a variable.
But just cant figure out how to lit unlit a single led i though i can do it like this:
setattribute(Leds[step],'value',1);
or
setattribute(Pads[step],'color',{1111111,2222222);
But it doesn't work. How can i lit/unlit single Leds/Pads in a row?