Project
Easiest way to store fader values
Started by Anton on .
Sign in or create an account to join the conversation.
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
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
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
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