<?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[Melodic inversion]]></title><description><![CDATA[<p>Hi all,</p>
<p>is there any object that allows to do a melodic inversion?<br />
The input would be the numeric values ​​of the midi notes.</p>
<p>(Melodic Inversion in the sense that where the original melody goes up by an interval, the inverted melody goes down by the same interval).</p>
<p>Thank you,<br />
a.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15005/melodic-inversion</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 06:56:16 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/15005.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 26 Jan 2025 00:42:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Melodic inversion on Sun, 26 Jan 2025 00:42:34 GMT]]></title><description><![CDATA[<p>Hi all,</p>
<p>is there any object that allows to do a melodic inversion?<br />
The input would be the numeric values ​​of the midi notes.</p>
<p>(Melodic Inversion in the sense that where the original melody goes up by an interval, the inverted melody goes down by the same interval).</p>
<p>Thank you,<br />
a.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15005/melodic-inversion</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15005/melodic-inversion</guid><dc:creator><![CDATA[atux]]></dc:creator><pubDate>Sun, 26 Jan 2025 00:42:34 GMT</pubDate></item><item><title><![CDATA[Reply to Melodic inversion on Sun, 26 Jan 2025 09:32:12 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/atux">@atux</a> said:</p>
<blockquote>
<p>is there any object that allows to do a melodic inversion?</p>
</blockquote>
<p>For chromatic intervals, just use [-] -- like, if you want middle C to be the reflection point:</p>
<pre><code>(your MIDI note)
|
[120 $1(
|
[-]
</code></pre>
<p>For diatonic intervals, you'd need to convert to a diatonic representation, then subtract, and convert back.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15005/melodic-inversion/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15005/melodic-inversion/2</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Sun, 26 Jan 2025 09:32:12 GMT</pubDate></item><item><title><![CDATA[Reply to Melodic inversion on Sun, 26 Jan 2025 14:36:35 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> said:</p>
<blockquote>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/atux">@atux</a> said:</p>
<blockquote>
<p>is there any object that allows to do a melodic inversion?</p>
</blockquote>
<p>[...] if you want middle C to be the reflection point:</p>
</blockquote>
<p>Thank you.<br />
In my case I would like the reflection point to be the first note of the sequence.</p>
<p>Maybe this works:</p>
<p>Let MIDI_1 = first MIDI note of the melody</p>
<p>(MIDI note from a list from first to last)<br />
|<br />
(2*MIDI_1, $1)<br />
|<br />
[-]</p>
<p>So, for example:</p>
<p>(71 68 74 51)   becomes:  (71 74 68 91)</p>
<p>I &quot;just&quot; have to build this object that acts on a list of any length  <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/smiley.png" title=":D" alt=":D" /></p>
<p>a.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15005/melodic-inversion/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15005/melodic-inversion/3</guid><dc:creator><![CDATA[atux]]></dc:creator><pubDate>Sun, 26 Jan 2025 14:36:35 GMT</pubDate></item><item><title><![CDATA[Reply to Melodic inversion on Sun, 26 Jan 2025 20:18:27 GMT]]></title><description><![CDATA[<p>A vanilla solution:<br />
<img src="/uploads/files/1737922578244-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15005/melodic-inversion/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15005/melodic-inversion/4</guid><dc:creator><![CDATA[FFW]]></dc:creator><pubDate>Sun, 26 Jan 2025 20:18:27 GMT</pubDate></item><item><title><![CDATA[Reply to Melodic inversion on Sun, 26 Jan 2025 23:13:54 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ffw">@FFW</a> said:</p>
<blockquote>
<p>A vanilla solution:<br />
[...]</p>
</blockquote>
<p>Nice, it works perfectly.<br />
It could be added in &quot;else/list management&quot; as [inversion] object.<br />
(Maybe adding a number box to choose the reflection point. Without choice: the first element as reflection point by default).</p>
<p>Thank you,<br />
a.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15005/melodic-inversion/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15005/melodic-inversion/5</guid><dc:creator><![CDATA[atux]]></dc:creator><pubDate>Sun, 26 Jan 2025 23:13:54 GMT</pubDate></item></channel></rss>