Control 2 things with 1 button (Almost worked it out!!!)
SteveRiggs last edited by
I've almost worked it out other than 1 tiny snag that's really bugging me. I'm sure its an easy fix.
Basically, I've been trying to get a button that controls both the 'Comp Enabled' function in dynamics, and also turns off and on a simple gain module (which would be the makeup gain for that compressor)
The best way I've found so far is to have the 'comp enabled' set to a macro1 (min set at 0.5 - max set at 1.0 in the macro table)
And having the 'gain' from the simple gain module also set to marco1 (min and max both at 0 in the macro tabel). This sets the gain back to 0db every time the comp is disabled.
The only problem with this is, I have a separate slider which also controls the simple gain. When the value on that is turned up past or below 0db and then the button is activated... the new simple gain sliders value doesn't update on the interface, even though in the back end module it has reset it to 0db.
And of course the other problem is that when the button is switched again to turn the comp/gain back on, 0db is still the value of the gain in the back end, but the value on the interface slider still shows whatever value it was left at before the bypass button was activated, even though it is actually 0db. That makes it no good for A/B'ing, BUT, if the gain slider on the interface is moved by 0.01, then it picks the value back up to where it was before it was disabled on both the interface and back end module. So it's close!!!!
It would be loads better if I could just disable the simple gain module, and the dynamix module at the same time with 1 button, but the code I've put in is garbage every time and does nothing like I want it to This workaround is as close as I can get.
Can any one point me in the right direction please to how fix my very almost there method, or how I would need to start the code to replicate it that way?
I'll put the snippet below so you can see how I've done it.
dustbro last edited by
It's hard to follow exactly what you want to happen.
Can you break it down for me?
Button off = ?
Button on = ?
Tod Slaughter last edited by
Lindon last edited by
@SteveRiggs plus - is there some reason you are not using "Comp Makeup"?
SteveRiggs last edited by SteveRiggs
Some kind of wizardry going on there!
Absolutely spot on mate. Thank you! This has been driving me nuts for ages. It makes sense now I can see the code as well. Great stuff. Thank you mate.
Sorry, it was a very long way of explaining it. Was trying to just find out how to bypass a dynamics module and a simple gain module with one button. Tod-Slaughter's snippet above nailed it
SteveRiggs last edited by
I am using both on the plugin. But I like having the option to control the makeup manually as well as using the auto makeup