<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Reverse (left-handed) keyboard?]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=3608&amp;type=atom"/>
	<updated>2020-05-08T19:48:45Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=3608</id>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966919#p966919"/>
			<content type="html"><![CDATA[<p>My old Ensoniq keyboard had many different tunings including flipping highs to left and lows to the right ..fun!</p>]]></content>
			<author>
				<name><![CDATA[Kramster1]]></name>
				<uri>https://forum.modartt.com/profile.php?id=5236</uri>
			</author>
			<updated>2020-05-08T19:48:45Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966919#p966919</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966688#p966688"/>
			<content type="html"><![CDATA[<p>Do you mean that you want middle D to be either the lowest pitch, or the highest one?&nbsp; &nbsp;Using Python or SuperCollider for that would be easy.&nbsp; In Python, one would replace a couple of lines in invert_pitches() in the snippet above as follows (I haven&#039;t tested this, but think it should work):</p><div class="codebox"><pre><code>def invert_pitches(port):
    for msg in port:
        if msg.channel == IN_CHANNEL and msg.type in (&#039;note_on&#039;, &#039;note_off&#039;):
            # only reverse pitches above middle D
            if  msg.note &gt; 64:
                msg.note = 124 - msg.note
            msg.channel = OUT_CHANNEL
            yield msg</code></pre></div><p>This would have the lower half of the keyboard ascend, and the upper half descend.</p><p>Perhaps this can be done with Scala files but I never got the reverse.kbm file to work with recent versions of Pianoteq so I&#039;m not sure.</p>]]></content>
			<author>
				<name><![CDATA[smulloni]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2463</uri>
			</author>
			<updated>2020-05-03T01:54:26Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966688#p966688</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966686#p966686"/>
			<content type="html"><![CDATA[<p>Hey, that&#039;s a neat idea!&nbsp; Yes, the .kbm mapping files should be able to do that.&nbsp; I once had my keyboard set up as two half keyboards with the same range of pitches, so we could play two-piano works on a single keyboard (provided we only needed a 3 octave range each).&nbsp; Or have the left and right hand play in unison if you like -- not two octaves apart, but literally in unison.&nbsp; It was a couple of years ago, I can&#039;t remember the details of how I did it, but it&#039;s the same techniques described on this page.</p>]]></content>
			<author>
				<name><![CDATA[hanysz]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6203</uri>
			</author>
			<updated>2020-05-03T01:12:01Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966686#p966686</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966683#p966683"/>
			<content type="html"><![CDATA[<p>This thread has been an interesting read. I&#039;ve had a similar question that I&#039;ve been looking for an answer to for quite a while. Would any of the tools mentioned on this thread be able to reverse half of the keyboard? If you take D4 and set it as the &quot;middle&quot; of the keyboard, the black and white key patterns will be mirror images on both sides. I&#039;ve been trying to figure out a way to change the notes below D4 (the left hand notes) to mirror the notes above, and vice versa. This would make it possible to use some specific practice techniques, such as hands together practice, by using the same fingers (and thus the same fingerings) in both hands.</p>]]></content>
			<author>
				<name><![CDATA[You_stay_classy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=7030</uri>
			</author>
			<updated>2020-05-02T22:57:14Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966683#p966683</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966459#p966459"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Gilles wrote:</cite><blockquote><div class="quotebox"><cite>LTECpiano wrote:</cite><blockquote><div class="quotebox"><cite>Gilles wrote:</cite><blockquote><p>In fact, my short demo at twice the speed and an octave higher works better as a harp part. <i class="far fa-smile smiley"></i></p><p><a href="https://forum.modartt.com/uploads.php?file=Inversion%20for%20harp.mp3">https://forum.modartt.com/uploads.php?f...20harp.mp3</a></p></blockquote></div><br /><p>More, More ... nice!</p><p>Lanny</p></blockquote></div><p>Well, you asked for it <i class="far fa-smile smiley"></i></p><p>Here is the complete prelude 1 reversed. I had to go back to the score since memory failed and, amateur that I am, there is a splice at the end due to a stupid mistake, but the chord progression is still interesting even in reverse!</p><p><a href="https://forum.modartt.com/uploads.php?file=ReversePrelude1.mp3">https://forum.modartt.com/uploads.php?f...elude1.mp3</a></p><p>Since it goes too low forward so too high backward I left it untransposed. The interesting part in using the SuperCollider method is that I can listen to the normal version on channel 1 while playing and record the reversed one from channel 2.</p></blockquote></div><p>Excellent &amp; Kudos, </p><p>Lanny</p>]]></content>
			<author>
				<name><![CDATA[LTECpiano]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2046</uri>
			</author>
			<updated>2020-04-23T11:28:19Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966459#p966459</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966450#p966450"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>LTECpiano wrote:</cite><blockquote><div class="quotebox"><cite>Gilles wrote:</cite><blockquote><p>In fact, my short demo at twice the speed and an octave higher works better as a harp part. <i class="far fa-smile smiley"></i></p><p><a href="https://forum.modartt.com/uploads.php?file=Inversion%20for%20harp.mp3">https://forum.modartt.com/uploads.php?f...20harp.mp3</a></p></blockquote></div><br /><p>More, More ... nice!</p><p>Lanny</p></blockquote></div><p>Well, you asked for it <i class="far fa-smile smiley"></i></p><p>Here is the complete prelude 1 reversed. I had to go back to the score since memory failed and, amateur that I am, there is a splice at the end due to a stupid mistake, but the chord progression is still interesting even in reverse!</p><p><a href="https://forum.modartt.com/uploads.php?file=ReversePrelude1.mp3">https://forum.modartt.com/uploads.php?f...elude1.mp3</a></p><p>Since it goes too low forward so too high backward I left it untransposed. The interesting part in using the SuperCollider method is that I can listen to the normal version on channel 1 while playing and record the reversed one from channel 2.</p>]]></content>
			<author>
				<name><![CDATA[Gilles]]></name>
				<uri>https://forum.modartt.com/profile.php?id=657</uri>
			</author>
			<updated>2020-04-22T19:18:54Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966450#p966450</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966440#p966440"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Gilles wrote:</cite><blockquote><p>In fact, my short demo at twice the speed and an octave higher works better as a harp part. <i class="far fa-smile smiley"></i></p><p><a href="https://forum.modartt.com/uploads.php?file=Inversion%20for%20harp.mp3">https://forum.modartt.com/uploads.php?f...20harp.mp3</a></p></blockquote></div><br /><p>More, More ... nice!</p><p>Lanny</p>]]></content>
			<author>
				<name><![CDATA[LTECpiano]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2046</uri>
			</author>
			<updated>2020-04-22T12:14:46Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966440#p966440</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966428#p966428"/>
			<content type="html"><![CDATA[<p>In fact, my short demo at twice the speed and an octave higher works better as a harp part. <i class="far fa-smile smiley"></i></p><p><a href="https://forum.modartt.com/uploads.php?file=Inversion%20for%20harp.mp3">https://forum.modartt.com/uploads.php?f...20harp.mp3</a></p>]]></content>
			<author>
				<name><![CDATA[Gilles]]></name>
				<uri>https://forum.modartt.com/profile.php?id=657</uri>
			</author>
			<updated>2020-04-21T19:12:42Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966428#p966428</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966427#p966427"/>
			<content type="html"><![CDATA[<p>Splendid.&nbsp; And here&#039;s another approach with Python&#039;s mido module (see <a href="https://mido.readthedocs.io/en/latest/):">https://mido.readthedocs.io/en/latest/):</a></p><div class="codebox"><pre><code>import mido

IN_CHANNEL = 0
OUT_CHANNEL = 1

def invert_pitches(port):
    for msg in port:
        if msg.channel == IN_CHANNEL and msg.type in (&#039;note_on&#039;, &#039;note_off&#039;):
            msg.note = 124 - msg.note
            msg.channel = OUT_CHANNEL
            yield msg

with mido.open_input(None) as inport:
    with mido.open_output(None, autoreset=True) as outport:
        for message in invert_pitches(inport):
            outport.send(message)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[smulloni]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2463</uri>
			</author>
			<updated>2020-04-21T18:09:06Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966427#p966427</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966425#p966425"/>
			<content type="html"><![CDATA[<p>An additional way to get a left-handed keyboard is to use SuperCollider, the software used by jazz pianist Dan Tepfer that I wrote about some time ago. Here is a short program that inverts around Middle D:</p><p><em>MIDIClient.init;<br />MIDIIn.connectAll;</em></p><p><em>m = MIDIOut.new(0);<br />m.latency = 0.0;</em></p><p><em>n = 62; // Middle D</em></p><p><em>MIDIdef.noteOn(\On,<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; arg vel, nn, chan, src;<br />&nbsp; &nbsp; if (chan == 0, {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; m.noteOn(1, n - (nn - n), vel);<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; );<br />}<br />);</em></p><p><em>MIDIdef.noteOff(\Off,<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; arg vel, nn, chan, src;<br />&nbsp; &nbsp; if (chan == 0, {<br />&nbsp; &nbsp; m.noteOff(1, n - (nn - n), vel);<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; );<br />}<br />);<br />)</em></p><p>Here is part of Bach&#039;s Prelude no 1 from WTCI played forward on channel 1 and heard backward on channel 2:<br />Nice chords, but not so baroque anymore... <i class="far fa-smile-wink smiley"></i></p><p><a href="https://forum.modartt.com/uploads.php?file=Inverted%20first%20prelude.mp3">https://forum.modartt.com/uploads.php?f...relude.mp3</a></p><p>Of course, using the Advanced Tuning as described is much simpler.</p>]]></content>
			<author>
				<name><![CDATA[Gilles]]></name>
				<uri>https://forum.modartt.com/profile.php?id=657</uri>
			</author>
			<updated>2020-04-21T15:24:34Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966425#p966425</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966421#p966421"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>smulloni wrote:</cite><blockquote><p>For the record, the way to mirror the keyboard around middle D in Pianoteq now is: in the advanced tuning section, select “reverse keyboard direction”, change &quot;string tension&quot; to &quot;full rebuild&quot;, and choose G2 as the diapason note (click on the invisible button immediately to the left of the C3 label in the keymap editor).&nbsp; Without full rebuild, reversing keyboard direction produces useless results, and the diapason note can&#039;t be changed to G2 with the diapason note button, which won&#039;t accept values below 220. </p><p>Thanks to Niclas for explaining how to do this!</p></blockquote></div><p>I&#039;m glad I could be of help. But please also thank Julien, he is the one who solved the puzzle..</p>]]></content>
			<author>
				<name><![CDATA[Niclas Fogwall]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3</uri>
			</author>
			<updated>2020-04-21T09:29:27Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966421#p966421</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966414#p966414"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>tmyoung wrote:</cite><blockquote><p>This is extremely instructive as a composer!&nbsp; The insights I&#039;ve gotten just from a few minutes of listening to my own compositions and a few pieces by others have been more useful and inspiring than anything I was ever taught in music.&nbsp; It&#039;s one thing to invert a short theme or motif, but it&#039;s an entirely different, eye-opening experience to invert an entire large work--especially a multi-movement symphonic one.</p></blockquote></div><p> </p><p>I&#039;m glad you find it stimulating! Inversions can be fascinating, and obviously composers have found them fruitful for centuries -- the mirror fugues of Bach&#039;s Art of Fugue being a kind of limit case (maybe the most spectacular instance, while also being the least suggestive of further uses).&nbsp; Cases when inversions either succeed somehow (some Bach pieces, like the fugue I posted years ago in this thread) but with different meaning than the original, or completely fail (like the Mozart Sonata K333 I&#039;ve been inverting recently so as to work on my left hand technique) are also interesting in how they differ or fail.&nbsp; It is really worth paying attention to what happens when an isomorphism is applied to a work of art.&nbsp; I think it was Edward Cone who pointed out that a conventional analysis of Chopin&#039;s 1st Prelude transposed up an octave would be exactly the same as an analysis of the original, yet the two works would hardly be equivalent.&nbsp; Any attempt to capture the significance of the difference is non-trivial, leading you into areas of human experience outside so-called music theory.&nbsp; &nbsp;A similar but less drastic and more familiar transformation is change of tempo, which, because it is more familiar, we can become desensitized to, but to what we have been desensitized we may become resensitized — that&#039;s what music is for! Cheers, js</p>]]></content>
			<author>
				<name><![CDATA[smulloni]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2463</uri>
			</author>
			<updated>2020-04-21T01:14:27Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966414#p966414</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966413#p966413"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>smulloni wrote:</cite><blockquote><p>For the record, the way to mirror the keyboard around middle D in Pianoteq now is: in the advanced tuning section, select “reverse keyboard direction”, change &quot;string tension&quot; to &quot;full rebuild&quot;, and choose G2 as the diapason note (click on the invisible button immediately to the left of the C3 label in the keymap editor).&nbsp; Without full rebuild, reversing keyboard direction produces useless results, and the diapason note can&#039;t be changed to G2 with the diapason note button, which won&#039;t accept values below 220. </p><p>Thanks to Niclas for explaining how to do this!</p></blockquote></div><p>I must confess when I saw this thread, my immediate reaction was &quot;what a useless feature,&quot; but I was *so* wrong.&nbsp; This is extremely instructive as a composer!&nbsp; The insights I&#039;ve gotten just from a few minutes of listening to my own compositions and a few pieces by others have been more useful and inspiring than anything I was ever taught in music.&nbsp; It&#039;s one thing to invert a short theme or motif, but it&#039;s an entirely different, eye-opening experience to invert an entire large work--especially a multi-movement symphonic one.&nbsp; I can&#039;t wait to see what else I find as I route more and more material through this easy-to-setup batch of settings smulloni and Niclas.&nbsp; Thank you both!</p>]]></content>
			<author>
				<name><![CDATA[tmyoung]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3155</uri>
			</author>
			<updated>2020-04-20T23:42:15Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966413#p966413</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966409#p966409"/>
			<content type="html"><![CDATA[<p>For the record, the way to mirror the keyboard around middle D in Pianoteq now is: in the advanced tuning section, select “reverse keyboard direction”, change &quot;string tension&quot; to &quot;full rebuild&quot;, and choose G2 as the diapason note (click on the invisible button immediately to the left of the C3 label in the keymap editor).&nbsp; Without full rebuild, reversing keyboard direction produces useless results, and the diapason note can&#039;t be changed to G2 with the diapason note button, which won&#039;t accept values below 220. </p><p>Thanks to Niclas for explaining how to do this!</p>]]></content>
			<author>
				<name><![CDATA[smulloni]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2463</uri>
			</author>
			<updated>2020-04-20T16:33:31Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966409#p966409</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reverse (left-handed) keyboard?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=966244#p966244"/>
			<content type="html"><![CDATA[<p>Returning to reverse keyboard mapping after some years, I find that the reverse.kbm file above now produces very strange results indeed within Pianoteq: the fundamentals do appear to be reversed, but the timbres are very strange, as if the partials have gone their own separate direction.&nbsp; Here for instance is the Blues Demo rendered with the Erard (1922) Recording with reverse.kbm: </p><p><a href="https://soundcloud.com/smulloni/blues-demo-upside-down/s-HxUHsdEzXvd">https://soundcloud.com/smulloni/blues-d...xUHsdEzXvd</a></p><p>If I use the &quot;reverse keyboard direction&quot; option under Advanced Tuning/Keyboard Mapping, the results are equally weird.&nbsp; Every preset I&#039;ve tried has the same issue.</p><p>Is this, as I would suspect, a bug, or is there another setting that needs to be combined with combining the reverse keyboard direction to produce sane results?</p>]]></content>
			<author>
				<name><![CDATA[smulloni]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2463</uri>
			</author>
			<updated>2020-04-12T16:37:01Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=966244#p966244</id>
		</entry>
</feed>
