<?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[Scriptnode: need a smooth help :)]]></title><description><![CDATA[<p dir="auto">I am trying to achieve a crossfade modulated by two square signals.<br />
For this crossfade to happen smoothly, I am using either:</p>
<ul>
<li>The smooth setting of the gain node</li>
<li>The smoother node</li>
</ul>
<p dir="auto">But none of them are adapted to crossfading.<br />
The first one gives a ramp, while the second makes an inverted falling edge curve regarding my needs.</p>
<p dir="auto">With the gain node:<br />
<img src="https://i.imgur.com/tFQQvus.jpg" alt="Untitled2.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">With the smoother node:<br />
<img src="https://i.imgur.com/0l7AEb8.jpg" alt="Untitled.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">What I'd like to achieve:<br />
<img src="https://i.imgur.com/59lUQ8q.jpg" alt="Untitled copy.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">This way I can realize a smooth crossfade using another signal (in green)</p>
<p dir="auto">Any clue on this? <img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/android/263a.png?v=fba14f4754a" class="not-responsive emoji emoji-android emoji--relaxed" style="height:23px;width:auto;vertical-align:middle" title=":relaxed:" alt="☺" /></p>
]]></description><link>https://forum.hise.audio/topic/1989/scriptnode-need-a-smooth-help</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 09:55:13 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/1989.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Nov 2019 18:35:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Scriptnode: need a smooth help :) on Sun, 03 Nov 2019 19:08:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/1">@Christoph-Hart</a> Was so easy finally <img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/android/1f603.png?v=fba14f4754a" class="not-responsive emoji emoji-android emoji--smiley" style="height:23px;width:auto;vertical-align:middle" title=":smiley:" alt="😃" /> You rock Mr Hart! <img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60e.png?v=fba14f4754a" class="not-responsive emoji emoji-android emoji--sunglasses" style="height:23px;width:auto;vertical-align:middle" title=":sunglasses:" alt="😎" /></p>
]]></description><link>https://forum.hise.audio/post/15419</link><guid isPermaLink="true">https://forum.hise.audio/post/15419</guid><dc:creator><![CDATA[ustk]]></dc:creator><pubDate>Sun, 03 Nov 2019 19:08:20 GMT</pubDate></item><item><title><![CDATA[Reply to Scriptnode: need a smooth help :) on Sun, 03 Nov 2019 19:03:43 GMT]]></title><description><![CDATA[<p dir="auto">You can easily turn that linear ramp from the gain module into a equal power crossfade. All you need to do is to turn -6dB into -3dB. The easiest formula for it is using trigonometry, so:</p>
<p dir="auto"><code>y = sin(x * PI / 2);</code></p>
<p dir="auto">should get you pretty close.</p>
<pre><code>HiseSnippet 1141.3oc2X8zaaTDEeFaOo0tsPQTta0SoRgH6RKEIjHl3+TEQbvJaRn8TYxrSrG4cmY0tiSpaE23NmgKbkSHtxAj5W.NwW.3aP9FTl2Nqyt1dI0xUfQYuXOu48l827d+leuc2dgJFOJREhvkOXb.GguIwYrTOn4.pPh1oEB+NjtzHMOrp0z1iCnQQbWDFW7wfAb4Rn3qy2ZapGUx3olPniTBFeWguPmZsWiuP340g5xOP3mw6GzXGlR1T4oFYvSQRMT.kMj1muGEbq.AgWqsqPqBczTMOx3y1J2wNCTmIs9ejHRbrGGFTG4XVHqYTyABO2dS1qQHDtTuzcdQ6N+NjtBWwE1Sy.2NdhpoQjMGfKLMjJMEjpmER0x.oNJOWXA.WlGdnLnqjEcFPnbG4Q0SiLnDjLgPMc0YGolKiD5wYKQqT39djdBMaP93sPN30Tn92FuIE+aQZexIblNErkHcdx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>
]]></description><link>https://forum.hise.audio/post/15413</link><guid isPermaLink="true">https://forum.hise.audio/post/15413</guid><dc:creator><![CDATA[Christoph Hart]]></dc:creator><pubDate>Sun, 03 Nov 2019 19:03:43 GMT</pubDate></item></channel></rss>