<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - is it possible to modify presets from the command line?]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=5570&amp;type=atom"/>
	<updated>2018-03-06T18:59:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=5570</id>
		<entry>
			<title type="html"><![CDATA[Re: is it possible to modify presets from the command line?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=953059#p953059"/>
			<content type="html"><![CDATA[<p>thanks so much, that should be exactly what i need.</p>]]></content>
			<author>
				<name><![CDATA[budo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=5184</uri>
			</author>
			<updated>2018-03-06T18:59:55Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=953059#p953059</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: is it possible to modify presets from the command line?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=953058#p953058"/>
			<content type="html"><![CDATA[<p>Yeah, unfortunately --fxp or --preset works only once, maybe we will fix that in the future. You can still achieve what you want by using this:</p><p>Pianoteq\ 6 --preset &#039;Grotrian Prelude&#039; --open &#039;kx88.mfxp&#039;</p><p>(the &quot;--open filename&quot; is a more generic command that can load midi, or fxps , etc)</p>]]></content>
			<author>
				<name><![CDATA[julien]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2</uri>
			</author>
			<updated>2018-03-06T18:19:19Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=953058#p953058</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: is it possible to modify presets from the command line?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=953055#p953055"/>
			<content type="html"><![CDATA[<p>i took a look at the output of --list-param, and i can see that there are many things i can control.&nbsp; for example i can set the condition slider or seed to whatever i want, can control mic placement, etc.&nbsp; but i don&#039;t see a way to set the velocity curve from the command line without loading an .mfxp file through the --fxp argument.&nbsp; </p><p>is there anyway to load a preset and modify the velocity curve from the command line?&nbsp; i tried</p><p>Pianoteq\ 6 --preset &#039;Grotrian Prelude&#039; --fxp &#039;kx88.mfxp&#039;</p><p>but the --fxp option has no effect.</p><p>i did a hexdump of an fxp file and i can clearly see where the filename of the velocity curve appears, so i guess if there is no easy solution i could just write something to hack fxp directly at the byte level.&nbsp; of course if anyone has any code already written, or knows more details about fxp format that are ok to share, that would be very helpful.</p>]]></content>
			<author>
				<name><![CDATA[budo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=5184</uri>
			</author>
			<updated>2018-03-06T17:58:08Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=953055#p953055</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: is it possible to modify presets from the command line?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=953049#p953049"/>
			<content type="html"><![CDATA[<p>thank you, that&#039;s very helpful.&nbsp; there are many things to play around with using those arguments!</p>]]></content>
			<author>
				<name><![CDATA[budo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=5184</uri>
			</author>
			<updated>2018-03-06T16:20:16Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=953049#p953049</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: is it possible to modify presets from the command line?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=953040#p953040"/>
			<content type="html"><![CDATA[<p>There is no official command-line option for that, but with Pianoteq 6.1 you can use:<br /> <em>--list-param</em> to get a list of public parameters (similar to the list VST parameters).<br /> <em>--set-param name=value</em> to change the value of a parameter . If the parameter name contains spaces you must quote it , for example: <br /></p><div class="codebox"><pre><code>./Pianoteq 6  --set-param &quot;Reverb Duration=5&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[julien]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2</uri>
			</author>
			<updated>2018-03-06T11:46:29Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=953040#p953040</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: is it possible to modify presets from the command line?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=953029#p953029"/>
			<content type="html"><![CDATA[<p>Yes, a complete set of command line options would be great also for running Pianoteq headlessly on an ARM box. Currently I have to use X ssh forwarding to set things up, than I switch back to headless mode for playing as the GUI consumes quites some precious processor cycles on its own.</p>]]></content>
			<author>
				<name><![CDATA[eriks]]></name>
				<uri>https://forum.modartt.com/profile.php?id=5202</uri>
			</author>
			<updated>2018-03-05T22:59:06Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=953029#p953029</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[is it possible to modify presets from the command line?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=953025#p953025"/>
			<content type="html"><![CDATA[<p>hi,</p><p>i&#039;m using PTQ stage 6.0.1 on linux (but after tonight it will be 6.1.1 ...).&nbsp; is it possible to use the command line to modify presets?&nbsp; the kind of thing i&#039;d like to do is take a short midi file and render it with a variety of pianos from the standard presets for comparison, but i&#039;d like to make changes to the presets on the fly.</p><p>here&#039;s a typical example.&nbsp; suppose i&#039;d like to render this midi file with all the Steinways available.&nbsp; my keyboard is a KX88, which sends out velocity = 15 as the lowest value, and i have various velocity curves stored i like to use that fix this problem.&nbsp; but i don&#039;t have a preset for every Steinway that uses one of these velocity curves.&nbsp; i&#039;d like to be able to run the program with --preset equal to one of these pianos, and then to use another argument to modify the velocity curve.&nbsp; but i didn&#039;t see how to accomplish that.</p><p>there are variations on this problem i&#039;m interested in.&nbsp; for instance, is there some way to set the reverb or other effects from the command line?&nbsp; &nbsp;could i for example load up Steinway Home and then change the reverb to Taj Mahal?&nbsp; or do i have to load up the UI and create a custom preset?&nbsp; </p><p>finally, is the file format for .fxp documented somewhere?&nbsp; if worst comes to worst i could try to write code to edit the various presets on the fly.</p>]]></content>
			<author>
				<name><![CDATA[budo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=5184</uri>
			</author>
			<updated>2018-03-05T19:18:11Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=953025#p953025</id>
		</entry>
</feed>
