Change functions of Knobs with a button
-
Hi, is it possible to change the functions of a couple Knobs with a Button?
For example I have control over a Filter Freq + Q + Attack + Release by default and when I click a button the functions stay active but I have then control over the Ring Mod Freq + Ring Mod Q + Attack Modulation + Release Modulation without changing the default functions? I hope ya'll understand what I mean. Thanks -
Yes, just use an if statement in the knob's callback.
if (the button is on) do one thing else do the other thing
-
@d-healey Sorry to revive an old thread - is there a way to do this via the GUI instead of scripting? If not, can you give an example of a complete setup for this?
I'm going to have potentially 8 'the other things' and that's a bit daunting haha!
-
@LozPetts said in Change functions of Knobs with a button:
I'm going to have potentially 8 'the other things' and that's a bit daunting haha!
Start with 1, then repeat it 7 times.
I've covered this in several tutorial videos, can't think of a specific example at the moment though.
-
@LozPetts Something like this?
HiseSnippet 1741.3oc2Y80aaaCDWJNpM1caXsncaOxErGb.xRrby5FP6PbyebaPaR7h6Z6PQQGsDULWjIUonRi6PA1y6Cv1Gf8Epus83dZurW52fsiTx1R1JNNtqoXUODXRd2we2w63cGSCA2gDFxEFlEuW2.hg46Y0rKS1d81XJyXqMLL+PqVQRImE9LpzoMQXrV2.bXHw0vzrvsTTYVbVC82qVcMrOl4PFLkgw84TGxcocnxAy1n1cn990wtj6Q6jh5UpskCmsN2mGAHpfUEi.ryA38I6fUjMikg441zkJ4hlRrjDZXN6Zb2tMayeFKl96SCos7IpA1FMAAEOcctuqBwpeardapuaidZdnggoUiA1gBw1gKasM0k1e9z1C0BnAbj1dXNSV3UHC7rON3kCjLSAoYigzEsZ5HnAxAqnvyEr1hIIBOLX1SCkXZMl4FmyZcNPAStTG7Aj5BXPeNJesJUVDA+YgqWBnJj6SVxwmfEkgIJAmEgRzgXA5.FuUH5qQOpmn1mHWm2IfyfAkm+Nvx1yuvhkPi9c7bT8TywUO0brx7K73qmGKk73hxGfnrXcaATohGrTnhelTv8WG662B78JGfE3NvoOaehxjjxl3cjMXQzQKpMdSOOhCrqq2lKhBAqw0yPa07nsQabHAU+gCQ8Z5.NkzyWwRVWwTIJymxHH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