<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Linux commandline --help option stopped showing help]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=3914&amp;type=atom"/>
	<updated>2015-07-11T17:42:41Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=3914</id>
		<entry>
			<title type="html"><![CDATA[Re: Linux commandline --help option stopped showing help]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=938781#p938781"/>
			<content type="html"><![CDATA[<p>Hi,</p><p>Using Pianoteq version 5.3.0/20150629 now and the bug seems to have magically disappeared.<br />I am not sure if something was fixed by the Modartt/Pianoteq developers, or in the C++ libs that are shipped with Fedora.<br />Whoever fixed this, thank you :-)</p>]]></content>
			<author>
				<name><![CDATA[m.tarenskeen]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1003</uri>
			</author>
			<updated>2015-07-11T17:42:41Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=938781#p938781</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Linux commandline --help option stopped showing help]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=938380#p938380"/>
			<content type="html"><![CDATA[<p>At this moment I have the impression that the problem isn&#039;t caused by the latest Pianoteq version, but rather by the recent update from Fedora 21 to Fedora 22.</p><p>I need to do more testing to find what shared library/libraries are to blame so that I can send a bugreport to the right people. Or maybe I have to (re)install some library/libraries that are missing or broken.</p><p>I have found that the bug (?) not only affects the --help option.<br />I frequently use Pianoteq on the commandline or in shell scripts to convert batches of pianomusic MIDI files to great sounding WAV files without the need to open the complete GUI interface.<br />On my current system this works fine if I run the i386 version but gives mysterious errors if I run the amd64 version.</p><p>I&#039;ll try to do some testing on a Fedora 21 system.</p>]]></content>
			<author>
				<name><![CDATA[m.tarenskeen]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1003</uri>
			</author>
			<updated>2015-06-08T07:33:32Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=938380#p938380</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Linux commandline --help option stopped showing help]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=938368#p938368"/>
			<content type="html"><![CDATA[<p>Hi,</p><p>strange. You could try the commands &#039;file&#039; and &#039;strace&#039;:<br />Piantoteq is dynamically linked, maybe something is missing on your system:</p><div class="codebox"><pre><code>$ file ./Pianoteq\ 5
./Pianoteq 5: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.26, stripped</code></pre></div><p>Watch the output of strace and how it exits:<br /></p><div class="codebox"><pre><code>$ strace ./Pianoteq\ 5 --help
[...]
write(1, &quot; --play-and-quit   : start playi&quot;..., 72 --play-and-quit   : start playing the midi file, and quit when it ends
) = 72
write(1, &quot;Example of use: Pianoteq --prese&quot;..., 74Example of use: Pianoteq --preset &quot;U4 Small&quot; --midi foo.mid --wav foo.wav
) = 74
exit_group(0)                           = ?
+++ exited with 0 +++</code></pre></div><p>(just an idea)</p>]]></content>
			<author>
				<name><![CDATA[groovy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1021</uri>
			</author>
			<updated>2015-06-07T12:29:57Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=938368#p938368</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Linux commandline --help option stopped showing help]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=938365#p938365"/>
			<content type="html"><![CDATA[<p>It&#039;s getting even stranger!</p><p>I tried, on my Fedora 22 x86_64 system, running the i386 binary with the --help commandline option. Now suddenly the help text was displayed normally. So I thought: maybe only the 64bits binary is broken, and the 32bits version is OK?</p><p>Then I went to my old 32bits EeePC, also running Fedora 22, and tried Pianoteq with the same --help commandline option there. Now again only the line with the version number and date was shown, just like when using --version. (Off coarse I can not try running the 64bits binary on my 32bits EeePC.)</p><p>So until know the only way I can get the --help text to appear is running the i386 version of Pianoteq 5 on my 64 bits Fedora 22 system. But &quot;groovy&quot; replied in this thread it&#039;s working fine on 64 bits Debian.</p><p>Isn&#039;t there anyone who can reproduce my issue, or who can solve this mystery? I&#039;m puzzled.</p>]]></content>
			<author>
				<name><![CDATA[m.tarenskeen]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1003</uri>
			</author>
			<updated>2015-06-07T09:23:00Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=938365#p938365</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Linux commandline --help option stopped showing help]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=938355#p938355"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>m.tarenskeen wrote:</cite><blockquote><p>It looks like the --help option isn&#039;t working anymore, where it used to work in previous versions, when running Pianoteq from a Linux Fedora commandline. </p><p>--version does work:</p><p>$ Pianoteq\ 5 --version</p><p>Pianoteq version 5.2.1/20150428 -- <a href="http://www.pianoteq.com">http://www.pianoteq.com</a></p><p>but --help gives the same output as --version:</p><p>$ Pianoteq\ 5 --help</p><p>Pianoteq version 5.2.1/20150428 -- <a href="http://www.pianoteq.com">http://www.pianoteq.com</a></p><p>It&#039;s a small issue, but please fix it :-)</p></blockquote></div><p>Hi,</p><p>amd64, Debian:</p><p>/Pianoteq\ 5/amd64/Pianoteq\ 5 --help<br />Pianoteq version 5.2.1/20150428 -- <a href="http://www.pianoteq.com">http://www.pianoteq.com</a><br />Copyright (c) 2015 Modartt.<br />Options from command-line:<br /> --help&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : show this help, and quit<br /> --version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: show current version number and date, and quit<br /> --no-prefs&nbsp; &nbsp; &nbsp; &nbsp; : start Pianoteq without using any saved preference<br /> --no-audio-prefs&nbsp; : start Pianoteq with a clean audio/midi configuration<br /> --prefs FILENAME&nbsp; : stores the preferences in the specified file<br /> --fxp FILENAME&nbsp; &nbsp; : load an FXP file on startup<br /> --preset NAME&nbsp; &nbsp; &nbsp;: load a preset on startup<br /> --list-presets&nbsp; &nbsp; : display the list of all presets<br /> --midimapping NAME: load a midimapping preset on startup<br /> --midi FILENAME&nbsp; &nbsp;: load a midi file<br /> --wav FILENAME&nbsp; &nbsp; : export midi file as wav, and quit<br /> --rate FREQ&nbsp; &nbsp; &nbsp; &nbsp;: change the sample rate for the exported wav<br /> --bit-depth D&nbsp; &nbsp; &nbsp;: change the bit-depth for the exported wav (16,24 or 32)<br /> --dither ON/OFF&nbsp; &nbsp;: turn dithering when exporting on or off<br /> --mono&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : export the wav file as mono<br /> --headless&nbsp; &nbsp; &nbsp; &nbsp; : do not show the graphical interface<br /> --fullscreen&nbsp; &nbsp; &nbsp; : start in fullscreen mode<br /> --play&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : immediately start playing the midi file<br /> --play-and-quit&nbsp; &nbsp;: start playing the midi file, and quit when it ends<br />Example of use: Pianoteq --preset &quot;U4 Small&quot; --midi foo.mid --wav foo.wav</p>]]></content>
			<author>
				<name><![CDATA[groovy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1021</uri>
			</author>
			<updated>2015-06-06T10:04:54Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=938355#p938355</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Linux commandline --help option stopped showing help]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=938349#p938349"/>
			<content type="html"><![CDATA[<p>Works on MacOSX 10.9.5</p><br /><p>/Applications/Pianoteq\ 5/Pianoteq\ 5.app/Contents/MacOS/Pianoteq\ 5 --help<br />Pianoteq version 5.2.1/20150428 -- <a href="http://www.pianoteq.com">http://www.pianoteq.com</a><br />Copyright (c) 2015 Modartt.<br />Options from command-line:<br /> --help&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : show this help, and quit<br /> --version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: show current version number and date, and quit<br /> --no-prefs&nbsp; &nbsp; &nbsp; &nbsp; : start Pianoteq without using any saved preference<br /> --no-audio-prefs&nbsp; : start Pianoteq with a clean audio/midi configuration<br /> --prefs FILENAME&nbsp; : stores the preferences in the specified file<br /> --fxp FILENAME&nbsp; &nbsp; : load an FXP file on startup<br /> --preset NAME&nbsp; &nbsp; &nbsp;: load a preset on startup<br /> --list-presets&nbsp; &nbsp; : display the list of all presets<br /> --midimapping NAME: load a midimapping preset on startup<br /> --midi FILENAME&nbsp; &nbsp;: load a midi file<br /> --wav FILENAME&nbsp; &nbsp; : export midi file as wav, and quit<br /> --rate FREQ&nbsp; &nbsp; &nbsp; &nbsp;: change the sample rate for the exported wav<br /> --bit-depth D&nbsp; &nbsp; &nbsp;: change the bit-depth for the exported wav (16,24 or 32)<br /> --dither ON/OFF&nbsp; &nbsp;: turn dithering when exporting on or off<br /> --mono&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : export the wav file as mono<br /> --headless&nbsp; &nbsp; &nbsp; &nbsp; : do not show the graphical interface<br /> --fullscreen&nbsp; &nbsp; &nbsp; : start in fullscreen mode<br /> --play&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : immediately start playing the midi file<br /> --play-and-quit&nbsp; &nbsp;: start playing the midi file, and quit when it ends<br />Example of use: Pianoteq --preset &quot;U4 Small&quot; --midi foo.mid --wav foo.wav</p>]]></content>
			<author>
				<name><![CDATA[Gilles]]></name>
				<uri>https://forum.modartt.com/profile.php?id=657</uri>
			</author>
			<updated>2015-06-05T22:42:22Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=938349#p938349</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Linux commandline --help option stopped showing help]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=938348#p938348"/>
			<content type="html"><![CDATA[<p>It looks like the --help option isn&#039;t working anymore, where it used to work in previous versions, when running Pianoteq from a Linux Fedora commandline. </p><p>--version does work:</p><p>$ Pianoteq\ 5 --version</p><p>Pianoteq version 5.2.1/20150428 -- <a href="http://www.pianoteq.com">http://www.pianoteq.com</a></p><p>but --help gives the same output as --version:</p><p>$ Pianoteq\ 5 --help</p><p>Pianoteq version 5.2.1/20150428 -- <a href="http://www.pianoteq.com">http://www.pianoteq.com</a></p><p>It&#039;s a small issue, but please fix it :-)</p>]]></content>
			<author>
				<name><![CDATA[m.tarenskeen]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1003</uri>
			</author>
			<updated>2015-06-05T22:14:34Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=938348#p938348</id>
		</entry>
</feed>
