<?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[Creating 1 second silence when the program first opens]]></title><description><![CDATA[<p dir="auto">Hi guys<br />
I need to create an only 1 second silence when the program first opens.<br />
I am also using below code for muting the demo version of my plugin (it also makes 1 second silence in 20 seconds)</p>
<p dir="auto">But I couldn't figured it out to use both silence methods.</p>
<pre><code>const var DEMO_MUTIZER = Synth.getEffect("DEMO_MUTIZER");

Synth.startTimer(20);

reg on = true;



function onTimer()
{
	if(on)
	{
		on = false;
		Synth.startTimer(1);
		DEMO_MUTIZER.setAttribute(DEMO_MUTIZER.Gain, -100);
	}
	else
	{
		on = true;
		Synth.startTimer(20);
		DEMO_MUTIZER.setAttribute(DEMO_MUTIZER.Gain, 0);
	}
}



</code></pre>
]]></description><link>https://forum.hise.audio/topic/1214/creating-1-second-silence-when-the-program-first-opens</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 05:07:31 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/1214.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 Feb 2019 03:56:24 GMT</pubDate><ttl>60</ttl></channel></rss>