Page 1 of 1

Easiest way to store fader values

Posted: 06 Oct 2012 14:31
by Anton
Hi,

I'm want to built a mixer with solo/mute capability, aswell as some a/b slots. So in order to do this i would need to store the current value of the faders somewhere.
Is it possible to write and read from an array?
Is there a template already that has something like this that I could learn from?

Thanks!

Anton

Re: Easiest way to store fader values

Posted: 07 Oct 2012 08:49
by Anton
ok so what i did now was to create an array by createing an expression in the project level.
something like
MixValueA{} { 1, 2,3,4,5,6,78,9,10}

Then in my script I find allt he fader values and put them in that MixValueA so for example
MixerValueA[0] = Mixer1.x;
MixerValueA[1] = Mixer2.x;

Obviuosly this is easier with a for() loop because then you dont need to type all of the mxier names and places in the array. But im writing it down the full way for n00bs like myself that are learning slowly :)