Brightness and Audio In

I have a midi device and audio in device wired up to control a DMX light. For now the midi device is controlling the color. The audio is tied to the brightness. I would like one knob on the midi to be the master brightness and another knob to adjust how much sound sensitivity to mix in. I feel like I just need to wire up the math sections to output the right values.

Thanks

After some noodling and this being my first project. I came up with the attached solution, it worked great. This is one cool product.

BradsLights.toe (12.9 KB)