single slider for multiple parameters with no macro's?
-
Hi,
I'm trying to make a single slider control the intensity of 2 different envelopes.
If I assign a single slider to the processor id of one of the evelopes and select intensity as the parameter id, everything works perfectly for that envelope. How do I make that slider control the intensity of a second envelope as well? I thought about doing it with macro's but it's impossible to select 'intensity' on a maro? I hope I make some sense since English isn't my native language. -
@pushkin I just put a video about this on YouTube a few days ago. Basically you need to use a control callback and the setAttribute command
-
@pushkin said in single slider for multiple parameters with no macro's?:
Hi,
I'm trying to make a single slider control the intensity of 2 different envelopes.
If I assign a single slider to the processor id of one of the evelopes and select intensity as the parameter id, everything works perfectly for that envelope. How do I make that slider control the intensity of a second envelope as well? I thought about doing it with macro's but it's impossible to select 'intensity' on a maro? I hope I make some sense since English isn't my native language.script it... write a callback for your slider, and in the callback set both envelopes...
const var SimpleEnvelope1 = Synth.getModulator("Simple Envelope1"); const var SimpleEnvelope2 = Synth.getModulator("Simple Envelope2"); inline function onEnvSetterControl(component, value) { SimpleEnvelope1.setIntensity(value); SimpleEnvelope2.setIntensity(value); }; Content.getComponent("EnvIntensity").setControlCallback(onEnvSetterControl);
-
Thanks for the fast replies! I'll take a look at that when I get home.
-
@Lindon Thank you! That worked flawlessly.