<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Change radio groups in the compiled plugin]]></title><description><![CDATA[<p dir="auto">Hi everyone :-)</p>
<p dir="auto">Does anyone know if it's a problem to dynamically change radio groups in the compiled plugin, or can we do that?</p>
<p dir="auto">I would use <code>button.set(“radioGroup”, value);</code> for that.</p>
<p dir="auto">Thanks a lot<br />
Oli</p>
]]></description><link>https://forum.hise.audio/topic/14610/change-radio-groups-in-the-compiled-plugin</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Apr 2026 19:31:01 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/14610.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Apr 2026 14:39:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Change radio groups in the compiled plugin on Wed, 08 Apr 2026 17:20:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a><br />
Okay, it works. I tested it in Cubase and Logic, and there are no issues with this snippet. :-)</p>
<pre><code>HiseSnippet 1700.3oc4YrzaSbDd2jrIwNzpBhJ331HN3fhPwORBnpJaRbbHp4gab3QEBAi2c13Qr6LlcmMDCBodr+A5AtweidqW6sJwefJUoJwM9CT09M6t16rNqSbcf.z5CHlu46878bScWlA1yi4pnlcuNswJpmSqQGJu0psPDpxFUUTuflKxjvVwmyYTu8vdbkU5zF44gMUTUGecAdpYlPI32aKuBxFQMvwfTTtCiXf2j3P3wPqW4aI110Pl38HNRXWpxFFL5pLalOnSiqsfRajwiQ6i2FIPaLMkag7ZondUsksJhVZQqhFKiKU.iPlMWboaX1rX9kVt30wkLPnquXIiR2PQcx0LIblaCNhi8TTmXElYmFsXOkFJf6P7HMswhC4UZ.RNDbMlsovDEPUVsEw1rdWmkmhhpV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LB+rbZQceXjr6RL4sxKSXL3BxfuEx0DdCMRDzN9wsTY9QboxI+naoxOAJMkXu2Lc0wv8IVid.1FZpG8kLphsPP85tPSl5sEixZ2hQIIdn2EycI6uONQ7SpFzM4bXH6XHWrxtXaLr1SLnqTYSXjcjK3mvinuH++5uAPpuWWVKTc0E0Kz+zskx3+mtkh5DRxeptyhFrKMHxvOkSuMqSnB0bwOwGSM5HUfqSkdPkpu8xJ0vXylwgtOxx5OKmnjJ7nO9Yc.5EhLrOLgl6x74vjjagfjevQnssuSCnEpAFTPJEaK1JTcLwRLgmWPbNrgH0L3veC+htLu3rZzk46doxQqZ84QUsB+HHQ0US9gQRLN0tLlSCxy5VJ4Uu7kuobUjSaPyi.UoXw+n7cw7MApsiQ6WKW0sSevdS4fNex.fvE7yvREq.n+76tXgyZu7TcGJq2WQJvEet3yIcuQfEgdRAYf27lNLeJOw.Et3jStAUNXdbIXuh+SW4WN6SitjVrU7+iboYB8FSoE7k.CbBSG9+S95F.Rz8aSrkza4kqz6hcI62hK2OuagRIJfDrWWtKbYBBtXS1SqCBTT1sGe9wWW4Vji.UoZk9lhcOLrBZxwNe6mt4dG+rifo+w8LHWRCVjnfdvfH5eXlD4r3A6rPFNHCW1CMB+1chRYSG.AraZvehuLZaINqm+newNGXgmGZXjjUGgvBiJgEGUBKMpDt3nR3RiJgKOpDd8SlPw9n2zmybByMf8xquVvWXUUMbk7fzDk+AXOv2TI
</code></pre>
]]></description><link>https://forum.hise.audio/post/119346</link><guid isPermaLink="true">https://forum.hise.audio/post/119346</guid><dc:creator><![CDATA[Oli Ullmann]]></dc:creator><pubDate>Wed, 08 Apr 2026 17:20:17 GMT</pubDate></item><item><title><![CDATA[Reply to Change radio groups in the compiled plugin on Wed, 08 Apr 2026 15:37:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a><br />
<img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f606.png?v=fba14f4754a" class="not-responsive emoji emoji-emoji-one emoji--grinning_squinting_face" style="height:23px;width:auto;vertical-align:middle" title=":grinning_squinting_face:" alt="😆" /></p>
<p dir="auto"><img src="/assets/uploads/files/1775662601604-this_is_the_way.png" alt="this_is_the_way.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.hise.audio/post/119345</link><guid isPermaLink="true">https://forum.hise.audio/post/119345</guid><dc:creator><![CDATA[Oli Ullmann]]></dc:creator><pubDate>Wed, 08 Apr 2026 15:37:11 GMT</pubDate></item><item><title><![CDATA[Reply to Change radio groups in the compiled plugin on Wed, 08 Apr 2026 15:28:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/3118">@Oli-Ullmann</a> said in <a href="/post/119342">Change radio groups in the compiled plugin</a>:</p>
<blockquote>
<p dir="auto">I guess I’ll just have to try it out.</p>
</blockquote>
<p dir="auto">This is the way</p>
]]></description><link>https://forum.hise.audio/post/119343</link><guid isPermaLink="true">https://forum.hise.audio/post/119343</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Wed, 08 Apr 2026 15:28:55 GMT</pubDate></item><item><title><![CDATA[Reply to Change radio groups in the compiled plugin on Wed, 08 Apr 2026 15:26:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a> said in <a href="/post/119341">Change radio groups in the compiled plugin</a>:</p>
<blockquote>
<p dir="auto">My first thought is disable saveInPreset for all of them and instead store the value of the last clicked button</p>
</blockquote>
<p dir="auto">The problem with this solution is that my plugin has two operating modes:</p>
<p dir="auto">Single – here I need the radioGroup functionality, which ensures that only one button is selected at a time.</p>
<p dir="auto">Multi – here I don’t need the radioGroup functionality, and multiple buttons can be selected.</p>
<p dir="auto">That's why I wrote my own script for the radioGroup functionality, which, however, leads to the problem I mentioned.</p>
<p dir="auto">So my idea now was to dynamically change the <code>radioGroup</code> attribute, but I don’t know if that will cause problems. I guess I’ll just have to try it out... :-)</p>
]]></description><link>https://forum.hise.audio/post/119342</link><guid isPermaLink="true">https://forum.hise.audio/post/119342</guid><dc:creator><![CDATA[Oli Ullmann]]></dc:creator><pubDate>Wed, 08 Apr 2026 15:26:39 GMT</pubDate></item><item><title><![CDATA[Reply to Change radio groups in the compiled plugin on Wed, 08 Apr 2026 15:20:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/3118">@Oli-Ullmann</a> My first thought is disable saveInPreset for all of them and instead store the value of the last clicked button in the panel that contains the buttons (or add a panel specially for it). Set the panel to saveInPreset and restore the button state from there.</p>
]]></description><link>https://forum.hise.audio/post/119341</link><guid isPermaLink="true">https://forum.hise.audio/post/119341</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Wed, 08 Apr 2026 15:20:23 GMT</pubDate></item><item><title><![CDATA[Reply to Change radio groups in the compiled plugin on Wed, 08 Apr 2026 15:15:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a><br />
Hey David,<br />
Thanks a lot—I watched your video. It works great in principle. However, when the buttons are <code>saveInPreset</code> the last button in the array is always set to 1 when I recompile. Do you have any idea how to prevent that? Here's a snippet:</p>
<pre><code>HiseSnippet 937.3ocsW0taaaCEkxNrnVacncXO.B4W1CAE9C4OJFBlWbRZM1RpQcVvJJJ5nonhIhDo.EU2LJJPez1izdCZIkTrjSsViIV0OBvk264vi48dIuYlfiIwwbAvx9hUQDf02BmuhIWNYIhx.SOFX88PAxixOJQJ4r3KHwRvQqhPwwDOfkU8mpiypwdfzu+8mOBEfXXRwR.vkbJl7azPprX0Yi+UZPvoHOxEzvRQ6NdJlylvC3IJMUG1FDgvWithbNRGVMH3Yn3k.qeDNzuGZPe+d3gD2tDDxaQ+AOwaQuNCF1aDwEiPi56hceBv5dm3QkbwbIRRhAV6cD2a07k7+hksAWRioKBHZiNf4pcNa4S4Ad5eh5UASVRC7lcygULPwxrhit5YGc+.7LpGc85EGgOL0gSAhxGfV01Td02PdcJKu1kj2VjjUIIsWljdDbNVPijEdz54afSYRhvGoxSkkRVrfZGVGNgqhfIebH5ZxoBkwZDMGzt8ANp+z5mrsU4pXoyaQBmPtGIuFw4PmWcC9qHxI7vHNSYzb+ERVm8acfsSUeUBqqYv5YFLWyf02LXCLC1PyfMZ+VuVk4r84hlKbnrxYtV1MV73XMBlTvClfBBVnZ+ZVJja4RWDXSYATFwwOggkT9FLdalv2nkCTUMAIjV1uytQERISKWpCS49vCcVCVsque8twYmykjmyZlxk86sctsKe+s5KWaADwVcquXR7eArIKIbAQT9WhNPUy2lczvp6nKegCNKiUJPNaJiJedDgU00Pf7zrp6+94pREpLs2+6x68yNPATUK98f5NPPpd0M7f6JltFfomAXbM.SeCvLv.LCM.yn0XpA98oGijH88z4IMUhLhHjTcMh0wj2pdkL6V6FviIwWK4QoY07ZdUY0WJu92qeG8OCGup3Q0yGCt6zzsRZd4tPSupn4CncgF2JoweWnoekzb8tPyfpnYbztPyvpn4eD6BMipTMIiAe9r.poP3dIAH4lilnGfK2g51sMlGP+lOKlJWUd.u+2lW4tJwGAmQk3kaWi01hFUsXeMzX9TdO.dhuOAKKD3dvS+iuNizAdAOQRYWcFRJnpjM77jv4pIiwD0tyXj.8qKpqVzPSsaqs0m.yILuTiOp9xc1Qaak6ryMNAgHrf+Fb1MZ54Hue5JJMwRm4tA7Lssy52MJNmCUi09FLdSp9LfcMEXOSA5ZJv9lBbfo.GZJvQeYf5+qieIQxCyZa.fylcR5aPVVmvPpJvzpUvm.8r0voB
</code></pre>
<p dir="auto">So far, this has been my solution. The only problem is that I can also disable the selected button, so that no button is active at all, which shouldn't happen.</p>
<pre><code>			if(value)
			{
			    local selectedButtonIndex = modeButtons.indexOf(component);
			    
			    for (i = 0; i &lt; modeButtons.length; i++)
			    {
			        // Not selected
			        if (i != selectedButtonIndex)
			        {
			        	modeButtons[i].setValue(0);
			        	// more code...
			        }
			        
			        // Selected
			        if (i == selectedButtonIndex)
			        {
			        	// more code...
			        }
			    }
			}
</code></pre>
]]></description><link>https://forum.hise.audio/post/119340</link><guid isPermaLink="true">https://forum.hise.audio/post/119340</guid><dc:creator><![CDATA[Oli Ullmann]]></dc:creator><pubDate>Wed, 08 Apr 2026 15:15:52 GMT</pubDate></item><item><title><![CDATA[Reply to Change radio groups in the compiled plugin on Wed, 08 Apr 2026 14:45:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/3118">@Oli-Ullmann</a> Try it and tell us :)</p>
<p dir="auto">By the way, I just posted a video about radio buttons on Patreon: <a href="https://www.patreon.com/posts/master-radio-154762289" rel="nofollow ugc">https://www.patreon.com/posts/master-radio-154762289</a></p>
]]></description><link>https://forum.hise.audio/post/119331</link><guid isPermaLink="true">https://forum.hise.audio/post/119331</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Wed, 08 Apr 2026 14:45:38 GMT</pubDate></item></channel></rss>