<?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[Midi transpose, cents?]]></title><description><![CDATA[<p dir="auto">Hello guys and happy new year!!!<br />
I'm trying to do a midi transposer including cents, but cents just jump by st instead of cents. Midi allows managing cents?<br />
Snippet below<br />
<code>HiseSnippet 1361.3oc6Y0saaaCEVJ1ro1sNMcqCXWJTrA3rlFXmk00ggg3DamlfleLrRy1tpiQh1lnRjZRTd0sn2uGi8Nrc+xqxdCxavFIkrkTsbpbZSZ7PDRBDOmC4467KIUZ4RMPddTWE0BGNvAondaf9.BqW8dPLQYmFJpyCXtCzVUYyANPOOjohpZtmHXpVHuh74z02DZAIFnHRJJGQwFncw1XVD0V0dJ1xZKnI5PrcLoWq1NFTRcpE0mCjbfJJNPiW.6h1GJDaNfh5MZZhYTWcFjg7TTyuI0bfdO5uQBj+HrG9XKjXPUEc9BEPdKpko.wBpJ06gsLaMzf8TTTAshL+bAl+8.6gMwinG4FVTxPKZFw8GpycVvqZb3UIyvSIF5xGfNNHnl9VPVRjIBGgLvTRBjsCggHdX1f3gqOpv8tfVXlQuzw6bofWdf5hFugA+Rflc5fLXQfMOXqe5xMReyITFdKPcJgwGgb+PTJ5j4RQ0bumkdUttz65RuYgRuEBfxs.57pLY4mDHhIdoVwcfAC1GcnKj34P8Rrv5Ha7gThv7iH9LOzVtnessHjFmdcJzcBr1hagov3z00gLeWYtwF1TeBKQtPtLG.lhNA4un5DjKavKEHoNd8zcA5FtXGVDGAd9zPpQHJYpR.Wk49p4.7XrGSqOzUiMLv9TB83fXj1OnI5tiHrUfllB5ku+n3+8WVqB+mk99REKULkIuhGh0FR5hJ+v0d7xZheqFH7jzIWOdmoJkRv0a0GMIMKDHlhqxkkK4JUjZtiOwPjBoQI6SYnCHkWpTwWWpXg839H9w5DSTvXee6iQtkGRsaBpKo8fzbUBoNBZ4iJujPUumKozLRthkJ9lwsfNcJuTwWWrPw2DmkvA5RsrDK83bEk4tmwzJSjnZYd.hq7gxwy3RlFWLaowFAAyXBRI6PvrCbPiFGDLFRohxHiKNoHiJNUowjhXQjRo2ZXBlXWjPw4hxj0SKDV4nagM4mnAaJ56F0xS5Rh58TtlRFVfEAISfSrJ09mW8Wqq7rcZ.YPQIdH1330A4xvBOsZCTede6fB9BfFHuWvnNRva6va5J5FNelf+K4GvQU.7ACewN9dFaehM7kwFVyigbzwuBEuSrRLsBxtMKU8eLQUe5ee4c1lbYaC5TZ.mKFFuS.FmGrw1MzaGdNF46ZMI8QV73Wxlt6QITmdTB1H9lWsQLWb2tH23HNUyXCFie6y59t8Sr0aCjAbvXTCDNhxh0BnrKhCs3BtMeWvwVtQD98+rltuGKwIK94SZirPPuDmUnoAkGRPmS296XeOPFSMJABLRM4IYtZel2EFh0fHxUavdafLsXVvudGPXB6LgicAPXszUEWa307KBNh2AyPncAL+rQC0FYDUe2nkeAfCgR3Du0Ve99Zn2tmC9XjUxFH7aqDpS4ZH2eT8KAqt1JIe5e.+Ocdf30uqtbrxGrNOw8LEFFF0w1NVng83k9mOgWezA5awtH67GQ4d0FqC7WTaW9UmftWbMgUyXJ8mGuIr1+O9FD4l09FDm+i3DOLO+nu4mLk+IQcsBHnInLwOBwuz4FabRCjELgS6GwlrdwNLQsT9LEu8E5O+Is4ybzW.7YmrUQCGticVBvx.+rCfWDzBdUHgnM0mgIc2Cx2rPbGp88s0o9tFHNTIDjkm35TyItTav3JCudkNhXJG7u7mPlUEiUCYVcHyq0wTnCangK84FA25Wzh4lRJ73GQ9OEr.XOwXspCukuHFaiMwO2vPz39g7nb5yX0odFe8TOi0l5Y7MS8LdzTOiucpmwiOiYH9Tra3yn1A0sbBsZFb5Q0lDwQIkkvJ+Gfe2NPL</code></p>
]]></description><link>https://forum.hise.audio/topic/1122/midi-transpose-cents</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 17:06:43 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/1122.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 Dec 2018 10:54:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Midi transpose, cents? on Mon, 07 Oct 2019 15:48:21 GMT]]></title><description><![CDATA[<p dir="auto">Copy the script I posted above, then right click in your script and select Load Script From Clipboard. This will replace your script with mine and will place the code in the correct callbacks.</p>
]]></description><link>https://forum.hise.audio/post/14410</link><guid isPermaLink="true">https://forum.hise.audio/post/14410</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Mon, 07 Oct 2019 15:48:21 GMT</pubDate></item><item><title><![CDATA[Reply to Midi transpose, cents? on Mon, 07 Oct 2019 15:09:19 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey</p>
<p dir="auto">Hi David,</p>
<p dir="auto">I've tried using your code :</p>
<pre><code>function onNoteOn()
{
	Message.setFineDetune(knbFine.getValue());
}
</code></pre>
<p dir="auto">for a Fine Tuning knob in my project, but I get this kind of error.</p>
<pre><code>Interface:! Call of setFineDetune() outside of midi event callback {SW50ZXJmYWNlfHw0OXwzfDI2}
:			onNoteOn() - Line 3, column 26	{SW50ZXJmYWNlfG9uTm90ZU9uKCl8NDl8M3wyNg==}
</code></pre>
<p dir="auto">I tried my code on Win and Mac, and it only seems to give me that error on Win.  With ou without Deferring callbacks.</p>
<p dir="auto">Did you have this bug before?</p>
]]></description><link>https://forum.hise.audio/post/14409</link><guid isPermaLink="true">https://forum.hise.audio/post/14409</guid><dc:creator><![CDATA[Alex Paradis]]></dc:creator><pubDate>Mon, 07 Oct 2019 15:09:19 GMT</pubDate></item><item><title><![CDATA[Reply to Midi transpose, cents? on Mon, 31 Dec 2018 11:59:35 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey You read my mind!!!!!! Thanks once again David! and have a happy new year!</p>
]]></description><link>https://forum.hise.audio/post/7781</link><guid isPermaLink="true">https://forum.hise.audio/post/7781</guid><dc:creator><![CDATA[hisefilo]]></dc:creator><pubDate>Mon, 31 Dec 2018 11:59:35 GMT</pubDate></item><item><title><![CDATA[Reply to Midi transpose, cents? on Mon, 31 Dec 2018 11:51:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/338">@hisefilo</a> You can't transpose by cents (a keyboard doesn't have cents) what you want is to change tune. Use <code>Message.setFineDetune()</code>. And for transposing you should use <code>Message.setTransposeAmount()</code></p>
<p dir="auto">I actually made a little tuner script yesterday for a project I'm working on.</p>
<pre><code>const var knbFine = Content.addKnob("knbFine", 0, 0);
knbFine.set("text", "Fine Tune");
knbFine.setRange(-100, 100, 1);

const var knbCoarse = Content.addKnob("knbCoarse", 150, 0);
knbCoarse.set("text", "Coarse Tune");
knbCoarse.setRange(-12, 12, 1);
function onNoteOn()
{
	Message.setFineDetune(knbFine.getValue());
	Message.setCoarseDetune(knbCoarse.getValue());
}
function onNoteOff()
{
    Message.setFineDetune(knbFine.getValue());
	Message.setCoarseDetune(knbCoarse.getValue());
}
function onController()
{
	
}
function onTimer()
{
	
}
function onControl(number, value)
{
	
}
</code></pre>
]]></description><link>https://forum.hise.audio/post/7776</link><guid isPermaLink="true">https://forum.hise.audio/post/7776</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Mon, 31 Dec 2018 11:51:53 GMT</pubDate></item></channel></rss>