if the switch value is either 0 or 1, you can use math to do this:
cc = cc + (Switch.x * 8)
So if your switch is off, cc will just be cc (0, 1, 2, 3...). If it is on, it will be cc+8 (8, 9, 10, 11, ...)
SCRIPTING PROBLEM, please help!!
Re: SCRIPTING PROBLEM, please help!!
mmm, yes switch is 0-1
but a variable should be declared to store the values of the first 8 sliders and another one to store values of other 8 ?
otherwise values would "jump" i guess
but a variable should be declared to store the values of the first 8 sliders and another one to store values of other 8 ?
otherwise values would "jump" i guess
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite
Re: SCRIPTING PROBLEM, please help!!
Hi
i saw a post where Softcore was talking about show/hide objects tecnique,
maybe that one could be perfect for this case, what you think?
the two sets of 8 sliders could be laid one on top of the other, and the script shows/hides the objects,
in my head this approach seems safer for the cc values, am i wrong?
i saw a post where Softcore was talking about show/hide objects tecnique,
maybe that one could be perfect for this case, what you think?
the two sets of 8 sliders could be laid one on top of the other, and the script shows/hides the objects,
in my head this approach seems safer for the cc values, am i wrong?
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite
Re: SCRIPTING PROBLEM, please help!!
The show - hide approach, IMHO is better in this case because you won't have to deal with the difficulty of bi-directional feedback
Even better, create 8 sliders in one container, a second container with 8 more sliders and then use the show - hide trick opn the containers, not the sliders.
Even better, create 8 sliders in one container, a second container with 8 more sliders and then use the show - hide trick opn the containers, not the sliders.