Page 1 of 1
Posted: 10 Mar 2010, 08:58
by joffo78
Hello
How can i make a grand master with an array like light desk ?
I explain:
i have for example 16 value in an array. I'd like with one fader substract n% of de value of all the 16.
Is it possible
I'd like if it's possible than the new value is naturally displayed in the array inteerface.
Thanks
JF
Posted: 10 Mar 2010, 12:29
by 23fx23
hi joffo, something like this?
in most cases when you want to use only one item and avoid feeback (cause you could remove a percentage that would feedback the array, re remove ect, going crasy loopin till array is 0)
best is to use a second array, and use the bitmap inout possibiliies of usine.
here you see "size" foce the size to 16, but when fader chang it add a little pulse to make size +1, then back size +0, this is to force a change in order to make the bimap in update.
to correctly view, the first master array should be set to "small bars" with a different color (red in my example)if you fader goes from -100 o 100 you can choose to increase/decrease the array of n perecnt, keeping the ability to update it when drawing.
edit: one other method using only one array:
you see the wait 1 and -x stuff revert the percentage action just after it has been done in order to avoid loop i was speaking about.
Posted: 10 Mar 2010, 17:18
by joffo78
Thank you 23fx23 i'll try to test the two methods.but the second look good
Jof
Posted: 10 Mar 2010, 17:30
by joffo78
Your second solution doesn't work because each time i change the value it increase the reduction until 0
and i don't understand anything with you first example.
How displaying the two array each other ?
Posted: 10 Mar 2010, 18:44
by joffo78
OK I'm starting to understand
but it's not a very simple way to do an easy thing in apparence.
so i've always a problem.
my fader decrase the pourcente when i increase it.
How can i do to invert this ?
Posted: 10 Mar 2010, 19:07
by joffo78
eUREKA I FIND IT !
It was very simple !
-X +100

Posted: 10 Mar 2010, 20:13
by 23fx23
joffo78 wrote:Your second solution doesn't work because each time i change the value it increase the reduction until 0
and i don't understand anything with you first example.
strange it works ok here, are you on usine 5.10?
i can't test right now but i suppose to invert maybe use a A+B instead of A-B module. or as you found it add 100.
but it seems it works ok now...
on first solution, the master array is never affected, we operate the percentage reduction/increase that goes to 2nd array, and we feedback the display result thanks to bitmap wire (the white one on bottom), getting back to master array.
Posted: 10 Mar 2010, 20:59
by joffo78
Ok
But when i unplug the bitmap wire it's the same !
I'm on usine 5.10 to.
I'll try again the second method.
I have another problem with the first method.
I created a reset button but i have to trig it 2 times if i want to reset the display.