<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Default preset for Pianoteq standalone]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=11678&amp;type=atom"/>
	<updated>2024-07-23T19:55:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=11678</id>
		<entry>
			<title type="html"><![CDATA[Re: Default preset for Pianoteq standalone]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=997949#p997949"/>
			<content type="html"><![CDATA[<p>Nice..I didn&#039;t know you could create a server on pianoteq..</p><p>Very interesting project on github..It gives me ideas on how to implement stuff on microcontrollers (Arduino etc.) to control Pianoteq, or have a raspberry button to trigger my preset loading or run the script after starting pianoteq..</p><p>For other people I just did the minimum example:<br />1) Run the local server with </p><div class="codebox"><pre><code>pianoteqPath/PianoteqApp --serve 0.0.0.0:8081</code></pre></div><p>2) from terminal you get the presets with:<br /></p><div class="codebox"><pre><code>curl -X &quot;POST&quot; &quot;http://localhost:8081/jsonrpc&quot; \
     -H &#039;Content-Type: application/json; charset=utf-8&#039; \
     -d $&#039;{
  &quot;jsonrpc&quot;: &quot;2.0&quot;,
  &quot;method&quot;: &quot;getListOfPresets&quot;,
  &quot;id&quot;: &quot;0&quot;,
  &quot;params&quot;: []
}&#039;</code></pre></div><p>3) Change the preset to my favourite:<br /></p><div class="codebox"><pre><code>curl -X &quot;POST&quot; &quot;http://localhost:8081/jsonrpc&quot; \
     -H &#039;Content-Type: application/json; charset=utf-8&#039; \
     -d $&#039;{
  &quot;jsonrpc&quot;: &quot;2.0&quot;,
  &quot;method&quot;: &quot;loadPreset&quot;,
  &quot;id&quot;: &quot;0&quot;,
  &quot;params&quot;: [
    &quot;HB Steinway D 3 Mics&quot;
  ]
}&#039;</code></pre></div><p>It works fine..</p>]]></content>
			<author>
				<name><![CDATA[uzer123]]></name>
				<uri>https://forum.modartt.com/profile.php?id=9809</uri>
			</author>
			<updated>2024-07-23T19:55:55Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=997949#p997949</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Default preset for Pianoteq standalone]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=997942#p997942"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>uzer123 wrote:</cite><blockquote><p>I use Pianoteq in Patchbox OS and i would like to open my favourite preset without display (headless). Pathbox OS can open Pianoteq without any user interaction, but i would like to have my favourite preset open automatically too. </p><p>I know Pianoteq standalone opens the most recent preset when opening, but i would like to change presets with a midi message while i am playing, but return to the default when the program starts (it wouldnt be easy to navigate without a screen)</p></blockquote></div><p>I haven&#039;t tried it myself but it looks like you can use midi mapping to change presets: <a href="https://forum.modartt.com/viewtopic.php?id=3598">https://forum.modartt.com/viewtopic.php?id=3598</a></p><p>However I do use this little web client to control pianoteq: <a href="https://github.com/robert-rc2i/ptq-client-webapp">https://github.com/robert-rc2i/ptq-client-webapp</a></p><p>It works fine after the initial setup of starting pianoteq with &quot;--serve 0.0.0.0:8081&quot; and connecting it via web client.</p>]]></content>
			<author>
				<name><![CDATA[hebele]]></name>
				<uri>https://forum.modartt.com/profile.php?id=9810</uri>
			</author>
			<updated>2024-07-23T10:57:14Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=997942#p997942</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Default preset for Pianoteq standalone]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=997921#p997921"/>
			<content type="html"><![CDATA[<p>I use Pianoteq in Patchbox OS and i would like to open my favourite preset without display (headless). Pathbox OS can open Pianoteq without any user interaction, but i would like to have my favourite preset open automatically too. </p><p>I know Pianoteq standalone opens the most recent preset when opening, but i would like to change presets with a midi message while i am playing, but return to the default when the program starts (it wouldnt be easy to navigate without a screen)</p>]]></content>
			<author>
				<name><![CDATA[uzer123]]></name>
				<uri>https://forum.modartt.com/profile.php?id=9809</uri>
			</author>
			<updated>2024-07-21T12:00:11Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=997921#p997921</id>
		</entry>
</feed>
