<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Modartt user forum - Extending the control of Pianoteq on a Raspberry Pi]]></title>
		<link>https://forum.modartt.com/viewtopic.php?id=9196</link>
		<description><![CDATA[The most recent posts in Extending the control of Pianoteq on a Raspberry Pi.]]></description>
		<lastBuildDate>Thu, 24 Feb 2022 08:54:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Extending the control of Pianoteq on a Raspberry Pi]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=980586#p980586</link>
			<description><![CDATA[<div class="quotebox"><cite>dv wrote:</cite><blockquote><p>Google MIDI4Text and Plover Michela. You will be surprised. The &quot;piano&quot; keyboard has been used as a stenography approach for at least 150 years, probably more. I always wanted to learn it, but never found the time, and since I&#039;m already a relatively fast typist I never pushed myself.</p></blockquote></div><p>Thanks for those links which I hadn&#039;t found in all my searching. There is also a program called Pianotext or something. But I&#039;ve found nothing that suggests the use of midi controllers as assistive technology devices except for one harmonica type device, and none of the people that I&#039;ve contacted in the field of assistive technology seemed to be aware of the possibilities and the simplicity of the concept.</p><p>It&#039;s not so much the typing aspect that is interesting, but the touch-sensitive mouse control that a piano keyboard gives and maybe even more importantly the ability to send system commands. I&#039;ve now programmed an Artiphon Orba to control the mouse and send system commands. That is just one of a myriad of devices that can be enabled to perhaps provide an alternative means of computer control for people with disabilities.</p><p>I apologise if this thread is wandering.</p>]]></description>
			<author><![CDATA[null@example.com (ean)]]></author>
			<pubDate>Thu, 24 Feb 2022 08:54:30 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=980586#p980586</guid>
		</item>
		<item>
			<title><![CDATA[Re: Extending the control of Pianoteq on a Raspberry Pi]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=980583#p980583</link>
			<description><![CDATA[<div class="quotebox"><cite>ean wrote:</cite><blockquote><p>I&#039;ve now created a document which includes the script mentioned above and some instructions on installing and configuring it. This is the link:<br /><a href="https://docs.google.com/document/d/1vy3jvLeE8M5A3_Qri8otw5v2k6yqDy6BhqB6DlT7unU/edit?usp=sharing">https://docs.google.com/document/d/1vy3...sp=sharing</a></p><p>I&#039;d be very interested to know if anyone has success or failure with it and I&#039;ll be happy to answer any queries in this thread.</p><p>Incidentally a by-product of this script is that with a complete mapping it can turn a digital piano, or any MIDI keyboard or controller, into a perfectly usable computer keyboard.</p></blockquote></div><p>Google MIDI4Text and Plover Michela. You will be surprised. The &quot;piano&quot; keyboard has been used as a stenography approach for at least 150 years, probably more. I always wanted to learn it, but never found the time, and since I&#039;m already a relatively fast typist I never pushed myself.</p>]]></description>
			<author><![CDATA[null@example.com (dv)]]></author>
			<pubDate>Thu, 24 Feb 2022 01:22:16 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=980583#p980583</guid>
		</item>
		<item>
			<title><![CDATA[Re: Extending the control of Pianoteq on a Raspberry Pi]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=980549#p980549</link>
			<description><![CDATA[<p>Below is some code to add touch-sensitive mouse control to the script. I have updated the script document to include it but if anyone has already installed the script these lines can just be pasted into the script into the Typing section.</p><p>It&#039;s a mouse in the scale of C in the second octave up :-)<br />Cmaj7 is mapped to the 90 degree compass points i.e. Up, Right, Down, Left.<br />Dm7 is mapped to the 45 degree points i.e. NE, SE, SW, NW.<br />Playing the full C scale sends the mouse in a circle.<br />Velocity level controls the distance travelled.<br />Clicks and the wheel are assigned to the black keys as shown.</p><p><span style="color: blue"><br />#Mouse Control</span></p><p><span style="color: blue">&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 36&quot; ) xdotool mousemove_relative --polar 360 &quot;$data2&quot;;; #C <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 38&quot; ) xdotool mousemove_relative --polar 45 &quot;$data2&quot;;;&nbsp; #D<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 40&quot; ) xdotool mousemove_relative --polar 90 &quot;$data2&quot;;;&nbsp; #E<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 41&quot; ) xdotool mousemove_relative --polar 135 &quot;$data2&quot;;; #F<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 43&quot; ) xdotool mousemove_relative --polar 180 &quot;$data2&quot;;; #G<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 45&quot; ) xdotool mousemove_relative --polar 225 &quot;$data2&quot;;; #A<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 47&quot; ) xdotool mousemove_relative --polar 270 &quot;$data2&quot;;; #B<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 48&quot; ) xdotool mousemove_relative --polar 315 &quot;$data2&quot;;; #C</span></p><p><span style="color: blue">&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 37&quot; ) xdotool click 4;; # Csharp Scroll Down<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 39&quot; ) xdotool click 5;; # Dsharp Scroll Up<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 42&quot; ) xdotool click 1;; # Fsharp Left<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 44&quot; ) xdotool click 2;; # Gsharp Middle<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Note on 46&quot; ) xdotool click 3;; # Asharp Right<br /></span></p>]]></description>
			<author><![CDATA[null@example.com (ean)]]></author>
			<pubDate>Sun, 20 Feb 2022 10:57:06 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=980549#p980549</guid>
		</item>
		<item>
			<title><![CDATA[Re: Extending the control of Pianoteq on a Raspberry Pi]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=980547#p980547</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>very outrageous, audacious idea, and a great way to work around the limitations of your controller.&nbsp; really like it!</p></blockquote></div><p>Thank you! I&#039;ve discovered tonight a particular feature that gives a piano keyboard a distinct advantage over a computer keyboard being used for mouse control, perhaps by people with disabilities. The distance, i.e. the speed the mouse travels, can be controlled by the velocity level. It&#039;s a great way of improving your touch, trying to move it the least possible distance!<br />Does anyone, like me, see a possibility that piano type keyboards could have a place in Assistive Technology? I can find no reference to their use in that way anywhere.</p>]]></description>
			<author><![CDATA[null@example.com (ean)]]></author>
			<pubDate>Sun, 20 Feb 2022 00:32:15 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=980547#p980547</guid>
		</item>
		<item>
			<title><![CDATA[Re: Extending the control of Pianoteq on a Raspberry Pi]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=980544#p980544</link>
			<description><![CDATA[<div class="quotebox"><cite>ean wrote:</cite><blockquote><p>I&#039;ve now created a document which includes the script mentioned above and some instructions on installing and configuring it. This is the link:<br /><a href="https://docs.google.com/document/d/1vy3jvLeE8M5A3_Qri8otw5v2k6yqDy6BhqB6DlT7unU/edit?usp=sharing">https://docs.google.com/document/d/1vy3...sp=sharing</a></p><p>I&#039;d be very interested to know if anyone has success or failure with it and I&#039;ll be happy to answer any queries in this thread.</p><p>Incidentally a by-product of this script is that with a complete mapping it can turn a digital piano, or any MIDI keyboard or controller, into a perfectly usable computer keyboard.</p></blockquote></div><p>very outrageous, audacious idea, and a great way to work around the limitations of your controller.&nbsp; really like it!</p>]]></description>
			<author><![CDATA[null@example.com (budo)]]></author>
			<pubDate>Sat, 19 Feb 2022 17:24:50 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=980544#p980544</guid>
		</item>
		<item>
			<title><![CDATA[Re: Extending the control of Pianoteq on a Raspberry Pi]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=980541#p980541</link>
			<description><![CDATA[<p>I&#039;ve now created a document which includes the script mentioned above and some instructions on installing and configuring it. This is the link:<br /><a href="https://docs.google.com/document/d/1vy3jvLeE8M5A3_Qri8otw5v2k6yqDy6BhqB6DlT7unU/edit?usp=sharing">https://docs.google.com/document/d/1vy3...sp=sharing</a></p><p>I&#039;d be very interested to know if anyone has success or failure with it and I&#039;ll be happy to answer any queries in this thread.</p><p>Incidentally a by-product of this script is that with a complete mapping it can turn a digital piano, or any MIDI keyboard or controller, into a perfectly usable computer keyboard.</p>]]></description>
			<author><![CDATA[null@example.com (ean)]]></author>
			<pubDate>Sat, 19 Feb 2022 09:53:17 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=980541#p980541</guid>
		</item>
		<item>
			<title><![CDATA[Extending the control of Pianoteq on a Raspberry Pi]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=980537#p980537</link>
			<description><![CDATA[<p>My Clavinova CLP115 only has two buttons that I can map to Pianoteq actions which is very limiting as I like to be able to use Pianoteq without recourse to a keyboard and mouse or the Ipad. I&#039;ve therefore written a script which enables me to put the keyboard into a &quot;typing&quot; mode where I can map any of the keys to Pianoteq actions. The only limitation is remembering which keys do what!</p><p>When in normal &quot;Piano&quot; mode I have the low A (that I never use) sending a shutdown command to the Raspberry and the soft pedal assigned as a page turner which works in whichever application is open. Useful when playing and reading music in the PDF viewer.</p><p>Pressing my &quot;Demo&quot; button switches the keyboard into &quot;Typing&quot; mode with a range of keys assigned to send abc etc and anything else on a computer keyboard. Multiple key presses can be simulated and I use one to bring up the &quot;Save MIDI file&quot; window which is one action that I don&#039;t think is possible from the Pianoteq built-in mappings. I can then type the file name on the piano keyboard and save the file. Pressing the Demo button again returns to Piano mode.</p><p>If anyone adventurous is interested in experimenting with the script I&#039;ll be happy to share it. It would require some knowledge of sudo nano chmod etc. I make no guarantee that it will work - I can only say that it works on my setup of a CLP115 and a Raspberry Pi 400.</p>]]></description>
			<author><![CDATA[null@example.com (ean)]]></author>
			<pubDate>Fri, 18 Feb 2022 23:18:02 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=980537#p980537</guid>
		</item>
	</channel>
</rss>
