How to connect panels to FX assigned radio group toggles?
-
Hey there, so i assigned 3x4 Radio Buttons to my FX containers.
I would like to display a panel for each algorythm that can be selected.
How would i do that and can i use the radio group that i setup - or do i have to redo the group in script?
Any snippets/solutions are apprechiated, here is what i have so far:
HiseSnippet 2635.3oc6b07aabbEeVKMRVz1o1novMWZ0gdPFvUf6WjKQPfo0WVLwRlwT0HoEnLq1cj3XsevreDY5z.6hZi5BDf1iMmpO1i8OAeLWK5gfdSo8PKPt3+CbmY+f6r7CItqjnqnC0ENe7126268l48lYeh0cr0Ptt1N.t41pSaDf6hvFcr7ZsbKUrEn1J.t2AZ5a3g2V0RuoqpmuipmsSSKz9fk5zV00EoC33l5VzoyM2zffOu7FKoZnZogR5B.tmMVCcarI1Ko25U+.rgwZp5nsvlLyVpZMMaqksMr8Ih1Tvhf1pZ6otKZSU5zNGDvMyp5XhjzvS0C4B3ldIa8NMZYuuU37uG1EusAh1fGzf7fB6dMaCcpDS6ErbKrgd8XUfKf7TpmnPlJTg71vMv53t8mnXtbv.ymPAq9f6boEuoRId7rhWQFwa.hDGiHMcnHcEXCMGbaujQnxyEf0r7PN6nRT6rhR3bAb+c3x1jIX4sno5dn0bHM5RvBJUJe84kKJes2s.YVt1FnE0LPpNKbs2cGeKMOrs071VaZ6gti0BWqvmWXtBeQg46cnc1YfiQ4qisgAxYfCSM8NGFgKX4atMx45y+YpF9ntSjnORqjgCWIy5CnEpFXlnsUMKr2cZirFlmAHR2QLHWMRpHS0Kvb7VQliFFXcjC.Sz5yB+.K6sEAABbja8y+pu5edCvHSrTJhqV3a92YfX4TDGrhbzItzwQrK2KmOHCDqjly25a+WYf3JoH9wuWg+yHQ74CHluXZp+tO7frPMeJpm+oe22lAAmuWU1GWczIVnGhq9WFNwK464YaEP7bvvF8w6HW8QjbgiG4hGOxkxfW9.HW93w8RGOxKe7DdkiG2qjOxKD61T7XROe9PeW5Gji2un1JpdpzPlQaVS1.uMxwCSiMvsB5yH4eDF.cN3JH287raC39YKaa111ht0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uzXJ2JdkPoRCuu2MRC2h8rPz27HdSA5DUxdMZDbDIfAKCJAxHk.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.