<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Pianoteq 6 on Raspberry Pi 3]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=5351&amp;type=atom"/>
	<updated>2020-11-16T08:07:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=5351</id>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=971151#p971151"/>
			<content type="html"><![CDATA[<p><strong><a href="https://forum.modartt.com/viewtopic.php?pid=971195&quot;">I have had tremendous success with Pianoteq 7 on the Raspberry Pi 400 -- details in this thread.</a></strong></p><div class="quotebox"><cite>jimmi wrote:</cite><blockquote><p>The reason to write here is to ask Edgar or someone else to explain the reason of the settings described in para 6.1, 6.2 and 6.3 of the guide and perhaps if they may suggest the same for RPi 4.</p></blockquote></div><p>Yes, these are a must. This is all covered in README_LINUX.txt -- here is an excerpt (copyrighted by correct owners, of course) -- see the full file for more:</p><div class="codebox"><pre><code> * make sure your user account is allowed to request real-time scheduling. This is mandatory if you
   want a decent latency without tons of cracklings.
   
   In order to elevate your account priviledges w.r.t. real time scheduling, you will need to edit
   the /etc/security/limits.conf (as root or with sudo) file and add:

     @audio - rtprio 90
     @audio - nice -10
     @audio - memlock 500000

 You may want to tune the numerical values, but the most important is to grant realtime priviledges
 to your account. If your user account is not member of the &quot;audio&quot; group, either join it, or
 replace the &quot;@audio&quot; above by &quot;@youruseraccount&quot;. After editing /etc/security/limits.conf, you must
 log out and log in again in order to have the changes applied.

 * you will probably want to turn off CPU frequency throttling when pianoteq is running, especially
   if you CPU is not very powerful. You can use the &quot;cpufreq-info&quot; command-line program to checks
   its current settings. CPU throttling can be disabled by the command:

     sudo cpufreq-set -c 0 -g performance (disable on the first cpu core)
     sudo cpufreq-set -c 1 -g performance (disable on the second core)
     ... (repeat for each CPU core)

 ## Pianoteq on ARM boards such as the Raspberry Pi 3

With version 6, Pianoteq is now able to run (with some performance limitations) on ARM boards, such
as for example the Raspberry Pi 3. Due to the limited cpu power available, a lot of care has to be
taken in order to achieve low latency without pops and cracks:

  * the user account used to run Pianoteq *must* have real-time rights (see the tip above about
    /etc/security/limits.conf ).

  * the cpu frequency should be locked at its maximum frequency. On a raspberry pi 3, which max out
    at 1.2GHz, it is:

      sudo cpufreq-set -f 1200MHz

  * the ethernet driver (at least as it is configured by default on Raspbian) will cause pops and
    cracks when there is network activity so you really have to add the following option to
    /boot/cmdline.txt:

      smsc95xx.turbo_mode=N</code></pre></div>]]></content>
			<author>
				<name><![CDATA[navindra]]></name>
				<uri>https://forum.modartt.com/profile.php?id=7205</uri>
			</author>
			<updated>2020-11-16T08:07:55Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=971151#p971151</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=964452#p964452"/>
			<content type="html"><![CDATA[<p>Reading the fine howto di Edgar I configured a nice headless device by using the RPi 4 and the new X400 v3.0 case that is now running like a charm. As interface I use my mobile on which I may have the RPi GUI via VNC. By using the Android app Raspberry SSH I may also perform other nice operation s.a. start and stop VNC, run Pianoteq headless and shutdown the RPi.</p><p>The reason to write here is to ask Edgar or someone else to explain the reason of the settings described in para 6.1, 6.2 and 6.3 of the guide and perhaps if they may suggest the same for RPi 4.</p><p>Thanks everyone for your great job, Pianoteq obtained another fan.</p>]]></content>
			<author>
				<name><![CDATA[jimmi]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6809</uri>
			</author>
			<updated>2020-01-02T02:49:41Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=964452#p964452</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=963022#p963022"/>
			<content type="html"><![CDATA[<p>Hi ! I&#039;m also interested to know how I can use PTQ on a screen-less RPi (4) and still be able to switch instruments, activate the metronome, and turn the device off !</p><p>Thanks everyone !</p>]]></content>
			<author>
				<name><![CDATA[mahen]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6676</uri>
			</author>
			<updated>2019-10-23T16:25:22Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=963022#p963022</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962526#p962526"/>
			<content type="html"><![CDATA[<p>I also wish to thank Edgar and everyone on the post for guiding me to having Pianoteq 6 running on a Raspberry Pi 4.&nbsp; There was one step that I found difficult - that of providing the needed USB MIDI interface.&nbsp; After much searching of the Net, I finally found this site:</p><p><a href="https://www.isticktoit.net/?p=1383">https://www.isticktoit.net/?p=1383</a></p><p>which outlines in great detail how to install the Linux USB gadget.&nbsp; There are many way to provide for a MIDI interface but this approach proved fairly easy and very useful.&nbsp; Other USB devices can be attached via the USB gadget other than MIDI but I have not explored them.&nbsp; If you find a need for USB MIDI, I strongly suggest you give this approach a try.</p>]]></content>
			<author>
				<name><![CDATA[fewarren]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1386</uri>
			</author>
			<updated>2019-09-28T00:21:51Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962526#p962526</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962286#p962286"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>ccazerty wrote:</cite><blockquote><p>Thank you! </p><p>Is it useful to take the 4GB ram version? </p><p>What do you mean by very very poor? Is it possible to play piano pieces? If not, do you know other devices, better than raspberry pi, to run pianoteq like it was integrated to the keyboard? </p><p>Thank you</p></blockquote></div><p>Very poor means that any piece with some bass notes and pedal will cause the CPU to overload, by the way I think that setting polyphony to a low number is not an acceptable compromise.</p><p>EDIT: performance is improved if you run Pianoteq without the X-windows graphical user interface, I would not use the RPi for other task, so 1Gb version should be more than enough</p>]]></content>
			<author>
				<name><![CDATA[marcos daniel]]></name>
				<uri>https://forum.modartt.com/profile.php?id=4155</uri>
			</author>
			<updated>2019-09-09T14:46:05Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962286#p962286</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962282#p962282"/>
			<content type="html"><![CDATA[<p>Thank you I&#039;ll try this!<br />what is your DAC model please? I&#039;m really lost with DACs. I see prices going from 30 € to 300 €.<br />Personally I don&#039;t want a Hi-fi result, I just want a piano to practice and to Compose (on paper).</p>]]></content>
			<author>
				<name><![CDATA[ccazerty]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6605</uri>
			</author>
			<updated>2019-09-09T07:53:57Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962282#p962282</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962241#p962241"/>
			<content type="html"><![CDATA[<p>Hello,</p><p>I use a Raspi 4 with 4GB, a 1024x768 small touchscreen and an external DAC. <br />Overclocking (<a href="https://www.tomshardware.com/reviews/raspberry-pi-4-b-overclocking,6188.html">https://www.tomshardware.com/reviews/ra...,6188.html</a>) without a fan. <br />48Khz, 128 samples, polyphony 48. The CPU load is about 50%. top (terminal)&nbsp; say 3.2GB free memory!</p><p>Rainer</p><div class="quotebox"><cite>ccazerty wrote:</cite><blockquote><p>Thank you! </p><p>Is it useful to take the 4GB ram version? </p><p>What do you mean by very very poor? Is it possible to play piano pieces? If not, do you know other devices, better than raspberry pi, to run pianoteq like it was integrated to the keyboard? </p><p>Thank you</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[rasaru]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6607</uri>
			</author>
			<updated>2019-09-06T15:52:54Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962241#p962241</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962240#p962240"/>
			<content type="html"><![CDATA[<p>Thank you! </p><p>Is it useful to take the 4GB ram version? </p><p>What do you mean by very very poor? Is it possible to play piano pieces? If not, do you know other devices, better than raspberry pi, to run pianoteq like it was integrated to the keyboard? </p><p>Thank you</p>]]></content>
			<author>
				<name><![CDATA[ccazerty]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6605</uri>
			</author>
			<updated>2019-09-06T14:54:30Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962240#p962240</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962239#p962239"/>
			<content type="html"><![CDATA[<p>Any USB card should work (provided it works under linux). RPi 3 performance is very very poor, I wonder if RPi4 is powerful enough, but given that price is the same, just to test, I would go for the last version...</p>]]></content>
			<author>
				<name><![CDATA[marcos daniel]]></name>
				<uri>https://forum.modartt.com/profile.php?id=4155</uri>
			</author>
			<updated>2019-09-06T14:31:01Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962239#p962239</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962237#p962237"/>
			<content type="html"><![CDATA[<p>Hi everyone,<br />I&#039;m using pianoteq on my computer for some years now, and I wanted to install it on a raspberry pi to make my keyboard more independent.</p><p>I was just wondering if I had to buy the raspberry pi 4, now that it has been announced, or is it useless? </p><p>Even if I just follow the pdf, the suptronics x400 seems to be out of stock for now, is there an alternative?</p><p> Thank you very much!</p>]]></content>
			<author>
				<name><![CDATA[ccazerty]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6605</uri>
			</author>
			<updated>2019-09-06T10:49:08Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962237#p962237</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962068#p962068"/>
			<content type="html"><![CDATA[<p>Sure. I&#039;ll let you know if I experience anything like this.</p>]]></content>
			<author>
				<name><![CDATA[jeo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6596</uri>
			</author>
			<updated>2019-08-31T12:55:20Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962068#p962068</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962067#p962067"/>
			<content type="html"><![CDATA[<p>Glad you solved it!<br />I have some strange latency issues on my odroid. <br />Just a single note or chord now and then that&#039;s audibly delayed. <br />Can you please check or this happens with the raspberry too? <br />In my case it seems to start happening if I&#039;m playing for more than ten minutes. I just can&#039;t find the cause of this.</p>]]></content>
			<author>
				<name><![CDATA[MrRoland]]></name>
				<uri>https://forum.modartt.com/profile.php?id=5741</uri>
			</author>
			<updated>2019-08-31T12:54:23Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962067#p962067</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962064#p962064"/>
			<content type="html"><![CDATA[<p>Now I found a psu/cable combo that works.<br />Thanks for the help!</p>]]></content>
			<author>
				<name><![CDATA[jeo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6596</uri>
			</author>
			<updated>2019-08-31T12:41:22Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962064#p962064</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962062#p962062"/>
			<content type="html"><![CDATA[<p>OK, it&#039;s definitely a power issue.<br />I tried various supplies and cables, and none of them solve the problem. But if I power both the 7in screen and the raspberry with separate power supplies, the lightning bolt disappears and I suddenly get the performance I was expecting (Sample Rate 48000 works fine; PI of 11).</p>]]></content>
			<author>
				<name><![CDATA[jeo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6596</uri>
			</author>
			<updated>2019-08-31T12:32:19Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962062#p962062</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 6 on Raspberry Pi 3]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=962061#p962061"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>jeo wrote:</cite><blockquote><p>Hmm. I&#039;m seeing the lightning bolt symbol a lot on the desktop, which apparently means undervoltage (with two different power supplies, one rated at 5v,3a, the other even higher). Might that be the reason?</p></blockquote></div><p>That&#039;s strange and can certainly be the cause of your problem. <br />Do you have a high quality power cord? <br />Raspberry is very picky regarding power...</p>]]></content>
			<author>
				<name><![CDATA[MrRoland]]></name>
				<uri>https://forum.modartt.com/profile.php?id=5741</uri>
			</author>
			<updated>2019-08-31T11:28:15Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=962061#p962061</id>
		</entry>
</feed>
