Re: nedd help with a issue that has been bugging me for a wh
Posted: 06 Oct 2017 15:36
what about this?
1.) insert a multislider(gradient, one slider, grid = 11,capture)
2.) under this multislider object make new expressions (second1, second2, ... , second10) -> second1 = 11, second2 = 22,...
3.) make a script on expression x
this sends values, note that you have to make seperate scripts for the third value (keydthird1,keythird2,...)
here you have to use numbers, so it is not possible to use more than one value per expression...
you can also group the keyout in a expression, second = {keyout1,keyout2,...}
the same with real strings could be applied to midiout (within ' ' of course)
hope this helps ?
1.) insert a multislider(gradient, one slider, grid = 11,capture)
2.) under this multislider object make new expressions (second1, second2, ... , second10) -> second1 = 11, second2 = 22,...
3.) make a script on expression x
Code: Select all
decl max = getattribute(getobject(),'grid_steps'); // needed if you need to loop through the elements
decl temp = x * 10;
ctlout(0,getexpression(getobject(),'keyout' + floor(temp)),127,3);
here you have to use numbers, so it is not possible to use more than one value per expression...
you can also group the keyout in a expression, second = {keyout1,keyout2,...}
Code: Select all
cltout(0,getexpression(getobject(),'second')[floor(temp) - 1],127,3);
hope this helps ?