<?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[Ignore note range]]></title><description><![CDATA[<p dir="auto">Hello guys, can anyone help me create a script to ignore midi events or mute notes based on note ranges? In other words, notes out of the C1-C4 range won't do a sound!</p>
]]></description><link>https://forum.hise.audio/topic/1035/ignore-note-range</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 06:32:15 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/1035.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Nov 2018 08:26:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ignore note range on Sat, 01 Jun 2019 08:03:20 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey Thanks, I didn't know that,  :)</p>
]]></description><link>https://forum.hise.audio/post/10809</link><guid isPermaLink="true">https://forum.hise.audio/post/10809</guid><dc:creator><![CDATA[Tod Slaughter]]></dc:creator><pubDate>Sat, 01 Jun 2019 08:03:20 GMT</pubDate></item><item><title><![CDATA[Reply to Ignore note range on Sat, 01 Jun 2019 00:19:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/389">@Tod-Slaughter</a></p>
<p dir="auto">Hi,</p>
<p dir="auto">It looks like you copied the whole script into the on init callback. What you need to do is copy the script, then right click inside your script processor and select <code>Load Script from clipboard</code></p>
]]></description><link>https://forum.hise.audio/post/10808</link><guid isPermaLink="true">https://forum.hise.audio/post/10808</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sat, 01 Jun 2019 00:19:21 GMT</pubDate></item><item><title><![CDATA[Reply to Ignore note range on Fri, 31 May 2019 22:53:16 GMT]]></title><description><![CDATA[<p dir="auto">I've not been able to get this to work. Is there a step missing? Please see snippet.</p>
<pre><code>HiseSnippet 1426.3oc4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O94vuFlY4UjzKjfdqjV+eEk.KUZXiRt31LJ4BP4paj0rjKFgYiYpM6fp52vtmI4GQcojP5v1dqdRofWdEMeXedRkHKo1CM8gszgbyT4ycFmkJc4RkJxZYVtAbd.SctdapTw7fnARJup4Wmb.nX7FU2Yf16dm4sI92lD5xHNXDS3ykw+Q8IUYVatHft64fSVVF.C97hXYd+RkfexavKMdy3wixT2Kt10r433hItYtda1YIic3qKQx7j4yL+YJGH6+IlzszeWS5l5joTpfF3bYIocprTiblbDSSZjCOWXLF9cv.iS0nyCFl6lyMeaZGWIIR6Ew5jnquCpFnSyj2ExLX6h2sWCifhMTFqe5WBk8UmyygUkaQdLGGWZSALSlZVMcu5eSOupt+80GosWqVrKhdCcKlqWnDPQcOHqDY7PLLdfoCsEomqzLrK.EWFuK04XQj7p5mC8.AzD3W.Jh7qe4eq9U12Uj0wvi2UkHmaMiDmaQ.Twa6hXc6l6w2OTX7FB9NFboXJFsXd9tzc4mScgq6QX7gv86nHZJ0gGaogfK76H3L6r4OGQgyk1soAYwdtNzlRIwtqlxipkFDGP5KpsOLaJI.hSzoLVTc7iEi575ywwv0TUbz7ii28U3+mu66HQOIi2tAAtnpxogIcrfmaYSAjv4T2PU58LpVZwqqjVKyhxchV7mvmDlUUqMRXVMk48hM7H1AhSsia3otKOeDEvu4Q+OTKhanVaVMsImJ1.UfYmZaqB1eIDcxWiGOwZ7jIVimNwZrwDqwylXMd9DqwWMBMTOIcydRgWbpGPn4tQCWXXrKm.2bitki9KhZFYgB
</code></pre>
]]></description><link>https://forum.hise.audio/post/10807</link><guid isPermaLink="true">https://forum.hise.audio/post/10807</guid><dc:creator><![CDATA[Tod Slaughter]]></dc:creator><pubDate>Fri, 31 May 2019 22:53:16 GMT</pubDate></item><item><title><![CDATA[Reply to Ignore note range on Sun, 11 Nov 2018 14:09:42 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey wow that's much more than I expected!!!!!! Thanks David</p>
]]></description><link>https://forum.hise.audio/post/6951</link><guid isPermaLink="true">https://forum.hise.audio/post/6951</guid><dc:creator><![CDATA[hisefilo]]></dc:creator><pubDate>Sun, 11 Nov 2018 14:09:42 GMT</pubDate></item><item><title><![CDATA[Reply to Ignore note range on Sun, 11 Nov 2018 10:24:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/338">@hisefilo</a></p>
<pre><code>const var knbMin = Content.addKnob("knbMin", 0, 0);
knbMin.setRange(0, 127, 1);
knbMin.set("text", "Low Note");

const var knbMax = Content.addKnob("knbMax", 150, 0);
knbMax.setRange(0, 127, 1);
knbMax.set("text", "High Note");

const var btnRelease = Content.addButton("btnRelease", 300, 12);
btnRelease.set("text", "On Release");function onNoteOn()
{
	if (Message.getNoteNumber() &lt; knbMin.getValue() || Message.getNoteNumber() &gt; knbMax.getValue())
    {
        Message.ignoreEvent(true);
    }
}
function onNoteOff()
{
	if (btnRelease.getValue())
    {
        if (Message.getNoteNumber() &lt; knbMin.getValue() || Message.getNoteNumber() &gt; knbMax.getValue())
        {
            Message.ignoreEvent(true);
        }
    }
}
function onController()
{
	
}
function onTimer()
{
	
}
function onControl(number, value)
{
	
}
</code></pre>
]]></description><link>https://forum.hise.audio/post/6945</link><guid isPermaLink="true">https://forum.hise.audio/post/6945</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sun, 11 Nov 2018 10:24:15 GMT</pubDate></item></channel></rss>