<?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[Linked Knobs kill sound]]></title><description><![CDATA[<p dir="auto">Hi there, I've linked 2 Filter Frequency Knobs with this code:</p>
<pre><code>inline function onW1FreqControl(component, value)
{
	Filter1.setAttribute(Filter1.Frequency, value);

	if (Button1.getValue())
	{
		W2Freq.setValue(value);
		 Filter2.setAttribute(Filter2.Frequency, 1-value);
				
	}
};
W1Freq.setControlCallback(onW1FreqControl);


inline function onW2FreqControl(component, value)
{	
	Filter2.setAttribute(Filter2.Frequency, value);

	if (Button1.getValue())
	{
		W1Freq.setValue(value);
		Filter1.setAttribute(Filter1.Frequency, 1-value);
		
	}
};
W2Freq.setControlCallback(onW2FreqControl);

inline function onButton1Control(component, value)
{
	if(value)
	{
		W1Freq.changed();	
	}
	
};

Content.getComponent("Button1").setControlCallback(onButton1Control);
</code></pre>
<p dir="auto">when I press the Button to link them it kills all the sound and I've to reload my project. Does anyone why this happens?</p>
]]></description><link>https://forum.hise.audio/topic/9907/linked-knobs-kill-sound</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 05:51:26 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/9907.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Jun 2024 11:35:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Linked Knobs kill sound on Fri, 21 Jun 2024 15:48:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/3406">@treynterrio</a> you mean linking the the component properties?</p>
<p dir="auto">Having a link there bypasses the control callback. Could be related. Does it also blow up your interface? There's currently an issue where setting anything with a frequency parameter in scriptnode to undefined breaks the audio engine and sends a weird sub20hz signal at +24dB</p>
]]></description><link>https://forum.hise.audio/post/82091</link><guid isPermaLink="true">https://forum.hise.audio/post/82091</guid><dc:creator><![CDATA[aaronventure]]></dc:creator><pubDate>Fri, 21 Jun 2024 15:48:15 GMT</pubDate></item></channel></rss>