How to connect panels to FX assigned radio group toggles?
-
HiseSnippet 3012.3oc6b07aabbEenkFaQ5jTazTjlKsKBJPoqSY3N6xufqQnkrjsRrjXLkMRpQpxJtCEGq8Cl8iHSmFDWzDzTfBzdr4T8wdr+I3i8dOTzaNsGZAxk7ef6L6GbmkeyUzLVzQRG3Ny7l42627l271Ydh0rLafssMs.oRuam1XPpW.VuigSq0ZoPL.adUPpWEp6p4P1WwPcOaEGWKEGSq8LvGAVsSaEaarJHUpktFq4oRuLv6mu4MWUQSwnANpH.31ljF3aPzINQkVq5aSzz1PQEuKQmq0xU2rgowZlZltTnsDLOnsRiCUN.usBqYmBBRc50UITjT2QwAaCRs7plpcp2x7HC+1eahMYeML6AQPcZG4W7FlZpLDyJErVKhlZsPJvFP6kZQDxR9DxKC2hnR5VdDwbNuJDhjfmORcp3vaoXvSjGd44f2.fTJNHsrOjNOrdCKRamnZX34rvMMbvVMUnzNOT7aK3T+zUfqYRaggSNckCwaXQenqDYKWozqKTHegKboLzVYapgy0PCqXkkVPF5bgsifkhJw7ZVltsEEtrvcd+K0W4ngTtzPJWNV4sULvZCn+iJGMjxkFR4g8ePEaeqs16Z2bmaUqNsboKwU5p2Z2c2YaVwxzVmoookPVxkyeIAxufqZ5iW7hWHyG2kgZaQLbx9ZTplbfAw3.gWS3hBDJikliqtC48o8aH0e.1YMS81lFXljq553XZvjJK4hhWneIyYyZugiko1ZJZZ6SWEj0znN1QzWzf5hKHxeHG+XRGzrb52Oihf9PAZTn.MBTHkTTfF.JjFEJj5CEre4LmFIRpwZWro.NCtITxgSjbFoIru5RGeB0xjXnQLvBMcMZ3PLMDFfsP1Fg85qK7QJZtXlEalLoIMyF7X5ONS5zuwazhnhEnDofSKhsvALLZ6u3wlVOcMP3R.NlLmF13.mVAqDR60S8vz4rot4BwRSEMaLiGR+IWxaPEZRLTELccDNpkovQT.XgoUnY1PQSnsoMkg3VAji1X781oYjNcA+tgMFzdwxGuYhiAZ2DGENVtdffhA5eClDQimDmITHZLTH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oNwUUwpdMm0AfmNK4JhPRxkKUtPfepnYidrnFhALDFe.gPDav5dmGPnH8YVeeZn2luwjCvkSP9S+wlLPOCLYrL7mK9bvrAZzyFzsux2yRiWgeaEylN6suGeOsajvMjTdz+oNL5mNteOXccSSmVznM79+4J.sKSowtfMrsu.bS6ay5oFJZgMjtMdvJ8XyW8qZnEWUSZwU0jWDUsUfpt55c5YwVFHcweqb5tZ84uqhbkhkPUJLJ+cmJl6pTbNOVdTNOBcVbFneQwpHt2hXpSLNL0jyKw1xGMe1xGkvs7KiJHhjpLy1x+4gMYDG2V9nDtk+rdx.8cwewbvVXwcuihKtpVoEWUq7B7N9nm62wWZ9riuzw4k7KK9cuW4L78J8OQnu8mMVBJ8cwew7vVYwzCq24WjeAV2DWf0MzB7t9ROusq+P6sTuDu6Ne33+u8vr45RBj36CqTrXNoBT9DIVtPwxHo9tsjTC79KheEawtEitWUEXv5.ZVqCExKixIWhtAXAwRhhxElY5.pec3rPEsCL26F6kmetXvlQQaC4cox7UMYHL7rligsLvtF8i.cn4E5PIAcRyKzIkDzIOuPm7TitsRrcGWF2LEHrPRP3by1qXRP2by1qTRP2by1q7TitqOG84UIInaNX20M54D.Oo4F7DSB7jmavaTaYjfnnV0z7PcEuzhJQeQaLWRhKckFVl60vOuzXJ2JdkPoRCuu2MRC2h8rPz27HdSA5DUxdMZDbDIfAKCJAxHk.YjSfLERfLESfLkRfLkGoLruARCNDBlULsfZq6ebHoV2fkJjd4EI3+SEjl1e
-
@Lindon amazing! thank you for the explanations in the script! like i was assuming the connections to my scriptnode that i had were lost, what is the best approach to assign the buttons to my on off toggles again and would this be separate or somewhere within your script?
-
@Straticah said in How to connect panels to FX assigned radio group toggles?:
@Lindon amazing! thank you for the explanations in the script! like i was assuming the connections to my scriptnode that i had were lost, what is the best approach to assign the buttons to my on off toggles again and would this be separate or within your script?
so yes - you cant use BOTH scripting based control, and "UI Based" control - so your on/off stuff now needs to be included in your code - in the callback that is showing/hiding your panels...
so on/off for effects is done with setBypassed
saturator.setBypassed(bool);
-
@Lindon my current setup looks like this. I have containers that i bypass inside my scriptnode. they use a dial that can be either 0 or 1. It should only be one active at a time out of the 3x4 sets.
-
@Straticah then just reference that dial...with setAttribute
saturator.setAttribute(saturator.Algol_L_01, value);
-
@Lindon perfect, found this from another of your posts aswell. thanks for the explanation!
const var ScriptProcessor1 = Synth.getMidiProcessor("Script Processor1"); const var myValue = 1; ScriptProcessor1.setAttribute("myButton",myValue);
-
in your button callback put something like this for each one..
//set the fx saturator.setAttribute(saturator.algo_L_01, radioGroup1[0].getValue()); saturator.setAttribute(saturator.algo_L_02, radioGroup1[1].getValue()); saturator.setAttribute(saturator.algo_L_03, radioGroup1[2].getValue()); saturator.setAttribute(saturator.algo_L_04, radioGroup1[3].getValue());
-
@Lindon works like a charm!
-
@Lindon @Straticah Thanks for sharing and iproving the multiband example guys.
Apparently, there is a problem with the band splitter, producing noisy glitches, especially at low frequencies.
Can I ask how you solved this problem? Did you limit the range of the Low Band? Or is there a tip here?
-
@JulesV said in How to connect panels to FX assigned radio group toggles?:
@Lindon @Straticah Thanks for sharing and iproving the multiband example guys.
Apparently, there is a problem with the band splitter, producing noisy glitches, especially at low frequencies.
Can I ask how you solved this problem? Did you limit the range of the Low Band? Or is there a tip here?
what do you mean by "band splitter"? Do you mean the filters? if so... they are not really (IMHO) set up for real-time modulation - so when the user changes a filter freq value I turn the audio off...and reinstate it on mouse up
-
@Lindon said in How to connect panels to FX assigned radio group toggles?:
they are not really (IMHO) set up for real-time modulation - so when the user changes a filter freq value I turn the audio off...and reinstate it on mouse up
But this wouldn't be a very pleasant situation in practice, would it?
Because all multi-band plugins on the market do this without any problems.
@Christoph-Hart is there any way to solve the unpleasant glitchy pop problem when performing frequency automation in low frequencies? Otherwise, these linkwitz-riley filters will not be really useful.
-
@JulesV said in How to connect panels to FX assigned radio group toggles?:
@Lindon said in How to connect panels to FX assigned radio group toggles?:
they are not really (IMHO) set up for real-time modulation - so when the user changes a filter freq value I turn the audio off...and reinstate it on mouse up
But this wouldn't be a very pleasant situation in practice, would it?
I've never had a user complain...
Because all multi-band plugins on the market do this without any problems.
No they dont - dynamic multiband effects seems like almost a silly idea.... you set the bands you want and then apply dynamic effects in the band, not to the band itself.
@Christoph-Hart is there any way to solve the unpleasant glitchy pop problem when performing frequency automation in low frequencies? Otherwise, these linkwitz-riley filters will not be really useful.