Easiest way to store fader values

Post your Lemur Projects.
Post Reply
Anton
Regular
Posts: 74
Joined: 08 Dec 2011 12:36

Easiest way to store fader values

Post 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
Anton
Regular
Posts: 74
Joined: 08 Dec 2011 12:36

Re: Easiest way to store fader values

Post 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 :)
Post Reply