Hi.
X, Y and Z are any hardware track.
Is is possible to :
1- memorise the gain of track X
2- fade gain of X to (ex) -60 if track Y or Z are playing something.
3- fade gain of X back to memorised gain at step1, when Y and Z are not playing.
?
Actually I have 2 macro-buttons, one for Y and one for Z, both fading X when trigger gain is happening.
The 1st problem is, beside having 2 buttons, I did not find how to memorise the initial gain of track X to restore it.
The 2nd problem : When track Y is triggered while track Z has triggered first, track X is going back up.
Something like (for one button on track Y for instance) :
Initial state required :
Strip(X).gain>-50 //Only if not lower than that (already faded)
Button Trigger IN:
myGain = Strip(X).gain
Strip(X).fadeto=(-60,1000)
Button Trigger OUT:
Strip(X).fadeto=myGain
Unless there is another way. Thank you.
Macro Button : Restore Initial gain if gain >= value.
-
- Site Admin
- Posts: 2121
- Joined: Sun Jan 17, 2010 12:01 pm
Re: Macro Button : Restore Initial gain if gain >= value.
there is no way to use local mem and read parameter in MacroButtons...
but we can think about making this work in more consistent way
ON: Strip(X).fadeto=(-60,1000)
OFF: Strip(X).fadeto=(+60,1000)
i note it...
but we can think about making this work in more consistent way
ON: Strip(X).fadeto=(-60,1000)
OFF: Strip(X).fadeto=(+60,1000)
i note it...
Re: Macro Button : Restore Initial gain if gain >= value.
I guess you mean that "+60" would be detected as a "back to previous".
I don't know if you code MacroButton yourself, but for the sake of the syntax, maybe you could introduce a new function like UnFade():
Strip(X).FadeTo(gain, duration) : memorise original gain
Strip(X).UnFade(duration) : back to original.
Won't solve the problem of 2 tracks fading a single one, but at least would be cool for one track.
I don't know if you code MacroButton yourself, but for the sake of the syntax, maybe you could introduce a new function like UnFade():
Strip(X).FadeTo(gain, duration) : memorise original gain
Strip(X).UnFade(duration) : back to original.
Won't solve the problem of 2 tracks fading a single one, but at least would be cool for one track.