<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Modartt user forum - Install Pianoteq on Odroid-N2]]></title>
		<link>https://forum.modartt.com/viewtopic.php?id=7449</link>
		<description><![CDATA[The most recent posts in Install Pianoteq on Odroid-N2.]]></description>
		<lastBuildDate>Wed, 31 Mar 2021 21:38:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=974985#p974985</link>
			<description><![CDATA[<div class="quotebox"><cite>sjgcit wrote:</cite><blockquote><p>My obvious question is how do these different settings <em>play</em> ?</p><p>I&#039;ve never found these numbers particularly useful, and artificial stress tests don&#039;t really give me (and I presume others) any way to connect performance with real playing, so I&#039;d be interested in seeing if you can tell me what these different numbers feel like when playing.</p><p>Thanks.</p></blockquote></div><p>I had not seen this, sorry. The stress test gives an idea of relative performance among different computers, this was my idea, let&#039;s say PT works well on a PC, any PC with the same score should run it well.<br />In my case, setups which can run the test without failure below 20ms of delay between notes, are good enough to play the hardest pieces I play (Beethoven sonata 21 or 23, chopin polonaises or ballades). Of course if you want to play a Bach invention, requeriments are much less.</p>]]></description>
			<author><![CDATA[null@example.com (marcos daniel)]]></author>
			<pubDate>Wed, 31 Mar 2021 21:38:00 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=974985#p974985</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967951#p967951</link>
			<description><![CDATA[<p>There was a big mistake on my web-site which describes the build process of my prototype piano expander -&gt; THERE WAS A TYPO IN THE NAME &quot;PIANOTEQ&quot;. I have corrected the website and it is available here: </p><p><a href="http://www.belleart.org/bluespice/index.php/Piano_Expander_based_on_Pianoteq_and_Odroid-N2">http://www.belleart.org/bluespice/index..._Odroid-N2</a> <a href="http://www.belleart.org/bluespice/index.php/Piano_Expander_based_on_Pianoteq_and_Odroid-N2]">http://www.belleart.org/bluespice/index...Odroid-N2]</a></p><p>If someone has bookmarked this page - please correct also your bookmark.</p><p>Regards,<br />Neo</p>]]></description>
			<author><![CDATA[null@example.com (Neo)]]></author>
			<pubDate>Mon, 15 Jun 2020 21:22:50 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967951#p967951</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967933#p967933</link>
			<description><![CDATA[<p>Hello, I believe documentation costs, since you are doing it very complete!<br />I had at first the idea of recompiling linux kernel using just necessary modules, and run Odroid without screen (runlevel 2 or 3) but I&#039;m just a hobbyist with very little time (I&#039;m chemist of profession and have just basic knowledge of electronics and informatics). My idea was to make boot time as short as possible. I&#039;m currently using a little box with a Teensy-LC microcontroller to choose instruments and set volume by sending MIDI messages.<br />By the way, I use only four big cores of the XU4 because even tough it has a little less performance, it is more consistent than using all cores.<br />Kind regards,<br />Marcos</p>]]></description>
			<author><![CDATA[null@example.com (marcos daniel)]]></author>
			<pubDate>Sun, 14 Jun 2020 22:54:27 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967933#p967933</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967923#p967923</link>
			<description><![CDATA[<div class="quotebox"><cite>marcos daniel wrote:</cite><blockquote><p>Hello!<br />Wow those figures are impressive!<br />I believe the N2 is noticeable superior to the XU4Q, not only in performance, but because XU4 throttles after a couple of minutes of intensive use, and N2 does not.</p><p>I deduced the numbers of cpu by stressing one by one and looking the load on htop at a terminal.<br />To stress the cores, I used at first sysbench.<br />I have 8 cores, so the first one is 00000001, the second one 00000010, and so on... quite artesanal procedure, nothing fancy. The numbers are in agreement with those shown by htop.<br />To measure the latency, I used a digital oscilloscope and a Teensy microcontroller.<br />I sent a MIDI message with a Teensy microcontroller over USB. At the same time I sent the message, I set a pin high, this pin triggered the oscilloscope, one audio output of the sound card was connected to another channel of the oscilloscope. Finally I read the delay with the cursor on the scope screen. (I don&#039;t know how familiar are you with oscilloscopes, I can only give then basic usage).<br />By the way, your project looks impressive!</p></blockquote></div><p>Hello Marcos,<br />most of the work on my project is done - yesterday I tested the MIDI implementation in conjunction with my Doepfer 88-key master-keyboard. .....and I couldn&#039;t stop - it was so exciting! <br />About the XU4Q - sorry - I had totally forgotten that it has 8 cores and was wondering why you are not using all 8 cores. (I use my XU4 just as a tftp-server and I have made no change on it for a long time. And by the way - I am very familiar with oscilloscopes - this is part of my profession ;-) )</p><p>I have just updated my &quot;project web-site&quot;, so you can take a look on my progress. Sometimes documentation costs more time than the work itself ;-)<br />-&gt; <a href="http://www.belleart.org/bluespice/index.php/Piano_Expander_based_on_Pianotec_and_Odroid-N2">http://www.belleart.org/bluespice/index..._Odroid-N2</a></p><p>In the near future I will provide also the complete Operating-System-Image on this page .....ready to be used......then the only thing which will be needed is to install Pianoteq .....</p>]]></description>
			<author><![CDATA[null@example.com (Neo)]]></author>
			<pubDate>Sun, 14 Jun 2020 10:09:53 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967923#p967923</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967638#p967638</link>
			<description><![CDATA[<p>Hello!<br />Wow those figures are impressive!<br />I believe the N2 is noticeable superior to the XU4Q, not only in performance, but because XU4 throttles after a couple of minutes of intensive use, and N2 does not.</p><p>I deduced the numbers of cpu by stressing one by one and looking the load on htop at a terminal.<br />To stress the cores, I used at first sysbench.<br />I have 8 cores, so the first one is 00000001, the second one 00000010, and so on... quite artesanal procedure, nothing fancy. The numbers are in agreement with those shown by htop.<br />To measure the latency, I used a digital oscilloscope and a Teensy microcontroller.<br />I sent a MIDI message with a Teensy microcontroller over USB. At the same time I sent the message, I set a pin high, this pin triggered the oscilloscope, one audio output of the sound card was connected to another channel of the oscilloscope. Finally I read the delay with the cursor on the scope screen. (I don&#039;t know how familiar are you with oscilloscopes, I can only give then basic usage).<br />By the way, your project looks impressive!</p>]]></description>
			<author><![CDATA[null@example.com (marcos daniel)]]></author>
			<pubDate>Mon, 08 Jun 2020 01:40:40 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967638#p967638</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967622#p967622</link>
			<description><![CDATA[<div class="quotebox"><cite>marcos daniel wrote:</cite><blockquote><p>I&#039;ll follow your project, by the way, using the XU4q and an ESI UDJ6 soundcard in stereo mode, for the 4 big cores, here you have the results of my glissandi benchmark:</p><p>SampleRate / buffer size / polyphony / worst result / latency<br />44.1 kHz / 64 samples / 96 polyphony: 24.2 ms between notes, then there are fails. Latency: 13.2 ms (average of 5 measurements with an oscilloscope)<br />44.1 kHz / 128 samples / 96 polyphony: 19.1 ms between notes, latency: 21.9 ms<br />48 kHz / 64 samples / 96 polyphony: 39.3 ms between notes, latency: 12.1 ms<br />48 kHz / 128 samples / 96 polyphony: 41.21 ms between notes, latency: 20.3 ms<br />32 kHz / 96 samples / 96 polyphony: 6.74 ms between notes (insane!), latency: 17.9 ms</p><p>I&#039;d like to know how it compares to the N2<br />Kind Regards<br />Marcos</p></blockquote></div><p>Hello Marcos,<br />here&nbsp; are my first results according to your settings, but without priorisation of the tasks -&gt; no optimisation. Further on I have no idea how you have measured the latency:</p><p>SampleRate / buffer size / polyphony / worst result <br />44,1 kHz, 128sample, 96 polyphony: 12.28 ms<br />44,1 kHz, 64sample, 96 polyphony: 13.28 ms<br />48 kHz, 64sample, 96 polyphony: 18.55 ms<br />48 kHz, 128 sample, 96 polyphony: 23.05 ms<br />32 kHz, 64 sample, 96 polyphony: 3.43ms</p><p>You can find the output of your benchmark on : <a href="http://www.belleart.org/bluespice/index.php/Benchmark_by_Marcos_Daniel">http://www.belleart.org/bluespice/index...cos_Daniel</a></p><p>About latency I think you have to measure the time between a MIDI-Event and the result coming out of the audio-interface. What do you think about that?<br />And another question regarding the task priorisation: From where do you have the information about the CPU-core numbering and the value of the priorisation with &quot;nice&quot;?</p><p>Best regards,<br />Neo</p>]]></description>
			<author><![CDATA[null@example.com (Neo)]]></author>
			<pubDate>Sun, 07 Jun 2020 10:19:19 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967622#p967622</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967544#p967544</link>
			<description><![CDATA[<div class="quotebox"><cite>marcos daniel wrote:</cite><blockquote><p>Well I&#039;ve just tried the code and it works on Odroid XU4 with Armbian. <br />Here you are the output:</p><br /><p>marcos@odroidxu4:~/Desktop$ gcc doc.c -o doc<br />marcos@odroidxu4:~/Desktop$ taskset 0xF0 nice --10 ./doc</p><p>Test start</p><p>Press ctrl + c to cancel<br />delay between notes: 100.00 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 1<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 50.00 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 2<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 25.00 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 3<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 12.50 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 4<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 18.75 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 5<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 21.88 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 6<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 20.31 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 7<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 19.53 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 8<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 19.14 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 9<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 19.34 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 10<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 19.43 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 11<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 19.48 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 12<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 19.46 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 13<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 19.47 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 14<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 19.48 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 15<br />Did audio fail? y/n, t to terminate<br />t<br />Total attemps: 15, final delay between notes: 19.48<br />marcos@odroidxu4:~/Desktop$</p><br /><br /><p>I remember I have had running issues on MS Windows with the same code, so I had to add quotation marks (&quot;, named comillas in spanish) in lines 118-120. So I would try removing them, on XU4 it the program runs with or without them, who knows, perhaps it runs.</p><p>For this you should comment out line 118, change strcat in line 119 to strcpy and comment out line 120</p><p>line&nbsp; &nbsp; original code:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new code: <br />118&nbsp; &nbsp;strcpy(comando,comilla);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//strcpy(comando,comilla);&nbsp; &nbsp; &nbsp;<br />119&nbsp; &nbsp;strcat(comando,pianoteq);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;strcpy(comando,pianoteq);<br />120&nbsp; &nbsp;strcat(comando,comilla);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //strcat(comando,comilla);</p><p>(commando is a string containing the command that will be sent to the system, strcpy copies one string into another, and strcat concatenates two strings, those lines build the command which will be run)</p><p>Hope it works <br />Marcos</p></blockquote></div><p>Hello Marcos,<br />sorry for the delay - I have done some mechanical things this week&nbsp; and had therefore no time for your benchmark test - but - it is not forgotten.<br />When my system is up and running again I will try it again.<br />Then afterwards I will start optimizing the kernel in the direction &quot;Real-Time&quot;. <br />Best regards,<br />Neo</p>]]></description>
			<author><![CDATA[null@example.com (Neo)]]></author>
			<pubDate>Tue, 02 Jun 2020 00:27:51 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967544#p967544</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967413#p967413</link>
			<description><![CDATA[<p>Well I&#039;ve just tried the code and it works on Odroid XU4 with Armbian. <br />Here you are the output:</p><br /><p>marcos@odroidxu4:~/Desktop$ gcc doc.c -o doc<br />marcos@odroidxu4:~/Desktop$ taskset 0xF0 nice --10 ./doc</p><p>Test start</p><p>Press ctrl + c to cancel<br />delay between notes: 100.00 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 1<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 50.00 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 2<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 25.00 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 3<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 12.50 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 4<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 18.75 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 5<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 21.88 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 6<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 20.31 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 7<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 19.53 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 8<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 19.14 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 9<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 19.34 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 10<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 19.43 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 11<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 19.48 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />Try number 12<br />Did audio fail? y/n, t to terminate<br />n<br />delay between notes: 19.46 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 13<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 19.47 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 14<br />Did audio fail? y/n, t to terminate<br />y<br />delay between notes: 19.48 milisegundos<br />Command to run is: &quot;./Pianoteq&quot; --headless --play-and-quit --midi miditest.mid; string size: 59<br />Current preset: Steinway D Prelude, instrument: Grand Steinway D<br />CPU overload detected. Your CPU is not powerful enough, or the power-saving settings of your computer are too aggressive. You can adjust the performance of Pianoteq, or disable CPU overload detection, in the &#039;Perf&#039; tab of the &#039;Options&#039; dialogue.<br />Try number 15<br />Did audio fail? y/n, t to terminate<br />t<br />Total attemps: 15, final delay between notes: 19.48<br />marcos@odroidxu4:~/Desktop$</p><br /><br /><p>I remember I have had running issues on MS Windows with the same code, so I had to add quotation marks (&quot;, named comillas in spanish) in lines 118-120. So I would try removing them, on XU4 it the program runs with or without them, who knows, perhaps it runs.</p><p>For this you should comment out line 118, change strcat in line 119 to strcpy and comment out line 120</p><p>line&nbsp; &nbsp; original code:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new code: <br />118&nbsp; &nbsp;strcpy(comando,comilla);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//strcpy(comando,comilla);&nbsp; &nbsp; &nbsp;<br />119&nbsp; &nbsp;strcat(comando,pianoteq);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;strcpy(comando,pianoteq);<br />120&nbsp; &nbsp;strcat(comando,comilla);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //strcat(comando,comilla);</p><p>(commando is a string containing the command that will be sent to the system, strcpy copies one string into another, and strcat concatenates two strings, those lines build the command which will be run)</p><p>Hope it works <br />Marcos</p>]]></description>
			<author><![CDATA[null@example.com (marcos daniel)]]></author>
			<pubDate>Thu, 28 May 2020 03:09:59 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967413#p967413</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967412#p967412</link>
			<description><![CDATA[<p>Segmentation fault occurs when a program tries to access a forbidden memory location, or something like this (I&#039;m not a programmer but for instance when you try to copy a 10 character string in a 8 character array this happens)... I will try to run the code on my Odroid and see what happens, <br />Marcos</p>]]></description>
			<author><![CDATA[null@example.com (marcos daniel)]]></author>
			<pubDate>Thu, 28 May 2020 02:08:19 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967412#p967412</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967406#p967406</link>
			<description><![CDATA[<div class="quotebox"><cite>marcos daniel wrote:</cite><blockquote><p>EDIT my previous answer was incorrect, I removed &quot;int argc, char *argv[]&quot; from the main() parentheses thinking it would not affect the code, tomorrow I&#039;ll comment the code and translate de variables.<br />Just replace &quot;int main()&quot; by &quot;int main(int argc, char *argv[])&quot; and it should compile.<br />I have just translated dialogs at github,<br />Regards,<br />Marcos</p><p>EDIT2: As my odroid has not internet nor monitor, I edited it from a Windows PC, just in case, the original code is here, the first one<br /><a href="https://github.com/marcosdanielfl/ptq_bench/commits/master/ptq_benc.c">https://github.com/marcosdanielfl/ptq_b...ptq_benc.c</a></p></blockquote></div><p>Hello Marcos,<br />today I tried to get your benchmark running. Compiling was successful after altering the code like you did it. Then I copied the executable to the Pianoteq folder, renamed &quot;Pianoteq 6 STAGE&quot; to Pianoteq and then started it....the result was a segmentation fault....</p><p>odroid@odroid:~/Pianoteq 6 STAGE/arm$ ./ptq_benc </p><p>Test start</p><p>Press ctrl + c to cancel<br />delay beween notes: 100.00 milisegundos<br />Segmentation fault (core dumped)</p><p>Have you got any idea what causes this?</p><p>Regards,<br />Neo</p>]]></description>
			<author><![CDATA[null@example.com (Neo)]]></author>
			<pubDate>Wed, 27 May 2020 21:31:26 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967406#p967406</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967389#p967389</link>
			<description><![CDATA[<p>EDIT my previous answer was incorrect, I removed &quot;int argc, char *argv[]&quot; from the main() parentheses thinking it would not affect the code, tomorrow I&#039;ll comment the code and translate de variables.<br />Just replace &quot;int main()&quot; by &quot;int main(int argc, char *argv[])&quot; and it should compile.<br />I have just translated dialogs at github,<br />Regards,<br />Marcos</p><p>EDIT2: As my odroid has not internet nor monitor, I edited it from a Windows PC, just in case, the original code is here, the first one<br /><a href="https://github.com/marcosdanielfl/ptq_bench/commits/master/ptq_benc.c">https://github.com/marcosdanielfl/ptq_b...ptq_benc.c</a></p>]]></description>
			<author><![CDATA[null@example.com (marcos daniel)]]></author>
			<pubDate>Wed, 27 May 2020 00:28:28 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967389#p967389</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967383#p967383</link>
			<description><![CDATA[<div class="quotebox"><cite>sjgcit wrote:</cite><blockquote><p>My obvious question is how do these different settings <em>play</em> ?</p><p>I&#039;ve never found these numbers particularly useful, and artificial stress tests don&#039;t really give me (and I presume others) any way to connect performance with real playing, so I&#039;d be interested in seeing if you can tell me what these different numbers feel like when playing.</p><p>Thanks.</p><div class="quotebox"><cite>marcos daniel wrote:</cite><blockquote><p>I&#039;ll follow your project, by the way, using the XU4q and an ESI UDJ6 soundcard in stereo mode, for the 4 big cores, here you have the results of my glissandi benchmark:</p><p>SampleRate / buffer size / polyphony / worst result / latency<br />44.1 kHz / 64 samples / 96 polyphony: 24.2 ms between notes, then there are fails. Latency: 13.2 ms (average of 5 measurements with an oscilloscope)<br />44.1 kHz / 128 samples / 96 polyphony: 19.1 ms between notes, latency: 21.9 ms<br />48 kHz / 64 samples / 96 polyphony: 39.3 ms between notes, latency: 12.1 ms<br />48 kHz / 128 samples / 96 polyphony: 41.21 ms between notes, latency: 20.3 ms<br />32 kHz / 96 samples / 96 polyphony: 6.74 ms between notes (insane!), latency: 17.9 ms</p><p>I&#039;d like to know how it compares to the N2<br />Kind Regards<br />Marcos</p></blockquote></div></blockquote></div><p>Hello Marcos,<br />the code you provided on github seems to be an interim state. You have used &quot;argc&quot; argument count in the code but there is no parser for argument values.<br />Therefore the code doesn&#039;t compile out of the box.<br />For me it&#039;s hard to assume what you want to do because I can&#039;t read spanish.<br />Can you please complete the code? Then I will try to compile it again. <br />Thanks!</p><p>Neo</p>]]></description>
			<author><![CDATA[null@example.com (Neo)]]></author>
			<pubDate>Tue, 26 May 2020 20:59:03 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967383#p967383</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967380#p967380</link>
			<description><![CDATA[<div class="quotebox"><cite>marcos daniel wrote:</cite><blockquote><p>I&#039;ll follow your project, by the way, using the XU4q and an ESI UDJ6 soundcard in stereo mode, for the 4 big cores, here you have the results of my glissandi benchmark:</p><p>SampleRate / buffer size / polyphony / worst result / latency<br />44.1 kHz / 64 samples / 96 polyphony: 24.2 ms between notes, then there are fails. Latency: 13.2 ms (average of 5 measurements with an oscilloscope)<br />44.1 kHz / 128 samples / 96 polyphony: 19.1 ms between notes, latency: 21.9 ms<br />48 kHz / 64 samples / 96 polyphony: 39.3 ms between notes, latency: 12.1 ms<br />48 kHz / 128 samples / 96 polyphony: 41.21 ms between notes, latency: 20.3 ms<br />32 kHz / 96 samples / 96 polyphony: 6.74 ms between notes (insane!), latency: 17.9 ms</p><p>I&#039;d like to know how it compares to the N2<br />Kind Regards<br />Marcos</p></blockquote></div><p>Hello Marcos,<br />sorry that I am a little late with the setup of your benchmark test. I hope I have the result soon. <br />By the way - I have also a XU in my &quot;collection&quot; but I never thought about using it for audio purpose......</p><p>Best regards,<br />Neo</p>]]></description>
			<author><![CDATA[null@example.com (Neo)]]></author>
			<pubDate>Tue, 26 May 2020 19:13:16 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967380#p967380</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967376#p967376</link>
			<description><![CDATA[<p>My obvious question is how do these different settings <em>play</em> ?</p><p>I&#039;ve never found these numbers particularly useful, and artificial stress tests don&#039;t really give me (and I presume others) any way to connect performance with real playing, so I&#039;d be interested in seeing if you can tell me what these different numbers feel like when playing.</p><p>Thanks.</p><div class="quotebox"><cite>marcos daniel wrote:</cite><blockquote><p>I&#039;ll follow your project, by the way, using the XU4q and an ESI UDJ6 soundcard in stereo mode, for the 4 big cores, here you have the results of my glissandi benchmark:</p><p>SampleRate / buffer size / polyphony / worst result / latency<br />44.1 kHz / 64 samples / 96 polyphony: 24.2 ms between notes, then there are fails. Latency: 13.2 ms (average of 5 measurements with an oscilloscope)<br />44.1 kHz / 128 samples / 96 polyphony: 19.1 ms between notes, latency: 21.9 ms<br />48 kHz / 64 samples / 96 polyphony: 39.3 ms between notes, latency: 12.1 ms<br />48 kHz / 128 samples / 96 polyphony: 41.21 ms between notes, latency: 20.3 ms<br />32 kHz / 96 samples / 96 polyphony: 6.74 ms between notes (insane!), latency: 17.9 ms</p><p>I&#039;d like to know how it compares to the N2<br />Kind Regards<br />Marcos</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (sjgcit)]]></author>
			<pubDate>Tue, 26 May 2020 13:07:23 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967376#p967376</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Pianoteq on Odroid-N2]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=967371#p967371</link>
			<description><![CDATA[<p>I&#039;ll follow your project, by the way, using the XU4q and an ESI UDJ6 soundcard in stereo mode, for the 4 big cores, here you have the results of my glissandi benchmark:</p><p>SampleRate / buffer size / polyphony / worst result / latency<br />44.1 kHz / 64 samples / 96 polyphony: 24.2 ms between notes, then there are fails. Latency: 13.2 ms (average of 5 measurements with an oscilloscope)<br />44.1 kHz / 128 samples / 96 polyphony: 19.1 ms between notes, latency: 21.9 ms<br />48 kHz / 64 samples / 96 polyphony: 39.3 ms between notes, latency: 12.1 ms<br />48 kHz / 128 samples / 96 polyphony: 41.21 ms between notes, latency: 20.3 ms<br />32 kHz / 96 samples / 96 polyphony: 6.74 ms between notes (insane!), latency: 17.9 ms</p><p>I&#039;d like to know how it compares to the N2<br />Kind Regards<br />Marcos</p>]]></description>
			<author><![CDATA[null@example.com (marcos daniel)]]></author>
			<pubDate>Tue, 26 May 2020 00:59:15 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=967371#p967371</guid>
		</item>
	</channel>
</rss>
