<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Pianoteq with Linux]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=3273&amp;type=atom"/>
	<updated>2014-06-10T14:40:07Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=3273</id>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=932580#p932580"/>
			<content type="html"><![CDATA[<p>I did find a solution based on one of the hints given above.&nbsp; If it&#039;s PT that&#039;s the problem, why just auto-kill PT and restart it when you come back from sleep.</p><p>So this is the launcher script I have to trigger on resumption from sleep:</p><div class="codebox"><pre><code>#!/bin/sh
# Restart Pianoteq after returning from suspend
# In systems using SYSTEMD, place in /usr/lib/systemd/system-sleep/pianoteq-restart.sh
# Otherwise, place in /etc/pm/sleep.d/20-pianoteq-restart

# Symlink exists to make a unique name to catch only the running process
#   eg: ln -s /usr/local/Pianoteq\ 5/i386/Pianoteq\ 5 /usr/local/Pianoteq/PT5
USER=&quot;piano&quot;
PTBINARY=&quot;PT5&quot;
RESTART=&quot;/usr/local/Pianoteq\ 5/restart_pianoteq&quot;

if [ $(ps auxww | grep -v grep | grep -c $PTBINARY) -eq 0 ]; then
  exit 0
fi

case &quot;${1}&quot; in
  hibernate|suspend)
    ## nothing
  ;;
  post|resume|thaw)
    su $USER -c &quot;$RESTART&quot; 
  ;;
esac</code></pre></div><p>Then I have the following script to do the actual restart:</p><div class="codebox"><pre><code>## /usr/local/Pianoteq 5/restart_pianoteq

PTBINARY=&quot;PT5&quot;

# w/o waiting for a few seconds, the script does not run successful after immediately returning from sleep
sleep 2
date &gt;&gt; /tmp/pt-sleep.log
echo &quot;Stopping PT&quot; &gt;&gt; /tmp/pt-sleep.log
ps -ef | grep -v grep | grep $PTBINARY | awk {&#039;print $2&#039;} | xargs kill

sleep 1
date &gt;&gt; /tmp/pt-sleep.log
echo &quot;Starting PT&quot; &gt;&gt; /tmp/pt-sleep.log
/usr/local/Pianoteq\ 5/PT5 &amp;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Mossy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3856</uri>
			</author>
			<updated>2014-06-10T14:40:07Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=932580#p932580</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=932579#p932579"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Mossy wrote:</cite><blockquote><p>Ran into some Linux annoyances today after setting a laptop dedicated solely for Pianoteq.</p><p>When doing Suspend -&gt; Resume, Pianoteq loses the audio device and presents the audio device selection box.&nbsp; Closing it and restarting works.</p><p>With JACK server, Pianoteq maintains the connection to JACK ... but unfortunately JACK loses it&#039;s connection to audio.&nbsp; Restarting JACK does not work.</p><p>I&#039;m scrounging the internet now to experiment with suspend/resume scripts to force redetection of audio devices.</p></blockquote></div><p>Did you ever resolve this ?<br />Just using the square &quot;Stop&quot; button instead of the || &quot;Pause&quot; button does work, on Windows as well as on Linux, i.e. the same on Windows as on Linux.</p><p>It is a &quot;shortcoming&quot; (to be polite) or a minor bug at worst.</p>]]></content>
			<author>
				<name><![CDATA[tractor_music]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2731</uri>
			</author>
			<updated>2014-06-10T13:16:32Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=932579#p932579</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=932438#p932438"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>tractor_music wrote:</cite><blockquote><p>Then I suggest you start here;<br /><a href="http://cdimage.ubuntu.com/ubuntustudio/releases/14.04/release/">http://cdimage.ubuntu.com/ubuntustudio/...4/release/</a><br />select the .iso distribution for your processor type, AMD or intel and save the file, about 2 gigs.<br />Burn it to DVD as an iso disc image, NOT as a file.</p></blockquote></div><p>Despite the naming of the files it&#039;s not a choice between Intel or AMD but between 32 or 64 bits.</p><p>The filenames with &quot;amd64&quot; in it are for 64 bits systems, even when using an Intel processor.<br />The filenames with &quot;i386&quot; in it are for 32 bits systems, even when using an AMD processor.</p><p>just a little bit confusing :-)</p>]]></content>
			<author>
				<name><![CDATA[m.tarenskeen]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1003</uri>
			</author>
			<updated>2014-06-05T12:28:42Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=932438#p932438</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=932435#p932435"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Mossy wrote:</cite><blockquote><p>Ran into some Linux annoyances today after setting a laptop dedicated solely for Pianoteq.</p><p>When doing Suspend -&gt; Resume, Pianoteq loses the audio device and presents the audio device selection box.&nbsp; Closing it and restarting works.</p><p>With JACK server, Pianoteq maintains the connection to JACK ... but unfortunately JACK loses it&#039;s connection to audio.&nbsp; Restarting JACK does not work.</p><p>I&#039;m scrounging the internet now to experiment with suspend/resume scripts to force redetection of audio devices.</p></blockquote></div><p>I haven&#039;t used pause/play much in pianoteq, I normally do that in the midi player that feeds midi to pianoteq. <br />I tried it, there is no change in the Jack connections with pianoteq pause/play;<br />pause/play doesn&#039;t continue, <br />however pause/stop/play picks up and continues from where I paused.</p><p>This appears to be NOT a LINUX problem, i.e. it behaves the same way on Windoze.</p><p>I am still on 4.5.5 - - given that this happens on more than one OS my GUESS is that pianoteq is the one with the bug.</p>]]></content>
			<author>
				<name><![CDATA[tractor_music]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2731</uri>
			</author>
			<updated>2014-06-05T11:28:43Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=932435#p932435</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=932427#p932427"/>
			<content type="html"><![CDATA[<p>Ran into some Linux annoyances today after setting a laptop dedicated solely for Pianoteq.</p><p>When doing Suspend -&gt; Resume, Pianoteq loses the audio device and presents the audio device selection box.&nbsp; Closing it and restarting works.</p><p>With JACK server, Pianoteq maintains the connection to JACK ... but unfortunately JACK loses it&#039;s connection to audio.&nbsp; Restarting JACK does not work.</p><p>I&#039;m scrounging the internet now to experiment with suspend/resume scripts to force redetection of audio devices.</p>]]></content>
			<author>
				<name><![CDATA[Mossy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3856</uri>
			</author>
			<updated>2014-06-05T03:55:33Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=932427#p932427</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=931947#p931947"/>
			<content type="html"><![CDATA[<p>Then I suggest you start here;<br /><a href="http://cdimage.ubuntu.com/ubuntustudio/releases/14.04/release/">http://cdimage.ubuntu.com/ubuntustudio/...4/release/</a><br />select the .iso distribution for your processor type, AMD or intel and save the file, about 2 gigs.<br />Burn it to DVD as an iso disc image, NOT as a file.</p><p>Back up your windows system - just in case.<br />It is probably worth shrinking the windows partition first.<br />Control Panel -&gt; Administrative Tools -&gt; Computer Management -&gt; Storage<br />Right click on your C drive to see the option to shrink.</p><p>For a reasonably complete Ubuntu Studio installation a 32 gig partition should be adequate.<br />Boot from the DVD.<br />Select the mundane things like time zone, language, user name, password, keyboard type, etc.<br />Eventually it will ask if you want to repartition your hard disc - this is why you should have backed-up the windows partition. <br />If you have shrunk the windows partition there should be free space available for you to create a new partition, if not you can PROBABLY do the re-sizing of windows now, but that has been risky in earlier versions so my habit is to only resize windows using windows.<br />&nbsp; &nbsp;<br />Basically follow along, the install is quite automated.<br />It will install a boot loader, so when the install is complete you will be able to choose between windows and your new Ubuntu Studio OS - up arrow and down arrow keys.</p><p>When it comes up the first thing to notice is that the menus are all started from a button at top left of the screen.<br />The major categories should be fairly obvious, &quot;Audio Production&quot; will probably interest you first.<br />&quot;Qjack ctl&quot; is the jack control - this is what connects outputs of things to inputs of other things.&nbsp; <br />The analogy is taken from telephone &quot;Jack&quot; plugs, the ancient days of telephone &quot;Switchboards&quot;.</p>]]></content>
			<author>
				<name><![CDATA[tractor_music]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2731</uri>
			</author>
			<updated>2014-05-25T12:54:53Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=931947#p931947</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=931937#p931937"/>
			<content type="html"><![CDATA[<p>No, no, the sentence who say &quot;less is more&quot; is very stupid. <i class="far fa-smile-wink smiley"></i><br />The life is too short for play music with economy and the modern piano was never born from a mind from baroque music.<br />So, it&#039;s my opinion and it&#039;s why I play that way... and have you heard the polyphony make by the people at the end of the tune ? Other considerations are out of the music. <i class="far fa-smile smiley"></i></p>]]></content>
			<author>
				<name><![CDATA[Lylo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3733</uri>
			</author>
			<updated>2014-05-25T11:27:09Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=931937#p931937</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=931892#p931892"/>
			<content type="html"><![CDATA[<p>I am tempted to say that LESS polyphony would probably sound better - fewer notes, or just more space between them <i class="far fa-laugh smiley"></i></p><p>I appreciate that style of music, but I doubt that much would be lost from it with less polyphony, or if the sustain pedal was lifted a bit more often.</p>]]></content>
			<author>
				<name><![CDATA[tractor_music]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2731</uri>
			</author>
			<updated>2014-05-24T17:04:10Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=931892#p931892</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=931880#p931880"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>stamkorg wrote:</cite><blockquote><div class="quotebox"><cite>Lylo wrote:</cite><blockquote><p>Hello,<br />have you make a similar test with Pianoteq 4.5 ? I&#039;m very surprise of the result of your test ? I play Pianoteq on a Core Duo 2 2,2ghz and I never have problem (and I play a lot of notes with another vsti in parallel in live performance).<br />If the Pianoteq 5 need more power perhaps I must not install it in my stage computer.</p></blockquote></div><p>Hello, <br />Ton système est-il parfaitement stable sous windows en 48000Hz et 128 samples, pour 2,7 msec de latence? Chez moi ce n&#039;était pas le cas. Alors que sous Tango Studio, pas de problème.</p></blockquote></div><p>Je vais faire des tests, il faut simplement qu&#039;en les faisant je n’abîme pas mon pc de scène, que si je rencontre un problème je puisse revenir en arrière.<br />Ça serait malheureux en tout cas que je ne puisse pas profiter de cette version 5.</p><p>------------------------------------------------</p><p>tracto_music, I must listen the opinion of stamkorg for my use, look at this video (Pianoteq 4.5)&nbsp; <i class="far fa-smile-wink smiley"></i></p><p><a href="http://youtu.be/dB74AHJkqWU?t=4m40s">http://youtu.be/dB74AHJkqWU?t=4m40s</a>&nbsp; Clic on the link for watch from 4:40 <i class="far fa-smile smiley"></i></p>]]></content>
			<author>
				<name><![CDATA[Lylo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3733</uri>
			</author>
			<updated>2014-05-24T13:08:06Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=931880#p931880</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=931878#p931878"/>
			<content type="html"><![CDATA[<p>I tried Tango Studio, ran a &quot;apt-get update&quot; followed by &quot;apt-get dist-upgrade&quot; etc. and got a LOT of upgrades.<br />I am not remembering how many, however the kernel is still at 3.2.something, so I am trying to figure why they have settled on such an old branch.<br />Ubuntu Studio DOES stay more current and runs many of the same packages without problems.<br />I didn&#039;t (yet) try pianoteq in tango studio, and unless/until I can get it updated to a more recent kernel I probably won&#039;t.<br />b-cache needs at least 3.10 and I don&#039;t want to migrate to a system that can&#039;t support b-cache.</p><p>@Lylo<br />With all due respect to stamkorg, such a stress test is WAY beyond any player&#039;s &quot;NEEDS&quot; for polyphony.<br />It is certainly interesting and does reveal the greater margin that is available with Linux, {specifically with the real time (or &quot;low latency&quot;) kernel} than is available with the microsoft general purpose &quot;office_ware&quot; OS.<br />Basically, unless you throw incredibly dense midi files at pianoteq, e.g. midi files of player piano rolls, on a 2.2 gig Core duo I don&#039;t think you will come anywhere near any limits with MS_Windows.<br />=======================================================<br />In magazine tests supposedly my motorcycle is 300 Km/Hr capable, probably with a 70 Kg rider.<br />I don&#039;t have test track conditions, I weigh more than 70 Kg., I would like to live a lot longer etc., so while that limit is interesting, it is largely irrelevant. <i class="far fa-laugh smiley"></i></p>]]></content>
			<author>
				<name><![CDATA[tractor_music]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2731</uri>
			</author>
			<updated>2014-05-24T12:33:55Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=931878#p931878</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=931877#p931877"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lylo wrote:</cite><blockquote><p>Hello,<br />have you make a similar test with Pianoteq 4.5 ? I&#039;m very surprise of the result of your test ? I play Pianoteq on a Core Duo 2 2,2ghz and I never have problem (and I play a lot of notes with another vsti in parallel in live performance).<br />If the Pianoteq 5 need more power perhaps I must not install it in my stage computer.</p></blockquote></div><p>Hello, <br />Ton système est-il parfaitement stable sous windows en 48000Hz et 128 samples, pour 2,7 msec de latence? Chez moi ce n&#039;était pas le cas. Alors que sous Tango Studio, pas de problème.</p>]]></content>
			<author>
				<name><![CDATA[stamkorg]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3941</uri>
			</author>
			<updated>2014-05-24T12:19:18Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=931877#p931877</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=931871#p931871"/>
			<content type="html"><![CDATA[<p>Hello,<br />have you make a similar test with Pianoteq 4.5 ? I&#039;m very surprise of the result of your test ? I play Pianoteq on a Core Duo 2 2,2ghz and I never have problem (and I play a lot of notes with another vsti in parallel in live performance).<br />If the Pianoteq 5 need more power perhaps I must not install it in my stage computer.</p>]]></content>
			<author>
				<name><![CDATA[Lylo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3733</uri>
			</author>
			<updated>2014-05-24T08:38:26Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=931871#p931871</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=931861#p931861"/>
			<content type="html"><![CDATA[<p>Also using Ubuntu Studio here, and the results are fantastic compared to windows.</p>]]></content>
			<author>
				<name><![CDATA[delt]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3623</uri>
			</author>
			<updated>2014-05-24T03:21:59Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=931861#p931861</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=931774#p931774"/>
			<content type="html"><![CDATA[<p>Thanks for the input.<br />I have played with PTQ on Ubuntu studio (low latency kernel) and while I haven&#039;t made such rigorous measurements as yours it is clear that Windows gets in the way of a lot of things - especially in the way of itSELF and anything needing low latency response, e.g. &quot;real time&quot;.</p><p>I may experiment with Tango Studio - just because I like messing with various strains of Linux <i class="far fa-laugh smiley"></i></p><p>EDIT:<br />Ahh, I see it is a Debian distro - GOOD, I am already a fair way up that learning curve <i class="far fa-laugh smiley"></i><br />I hope it continues to hang together when I update the kernel, I would like to use b-cache.<br />:END EDIT</p>]]></content>
			<author>
				<name><![CDATA[tractor_music]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2731</uri>
			</author>
			<updated>2014-05-22T17:01:15Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=931774#p931774</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Pianoteq with Linux]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=931723#p931723"/>
			<content type="html"><![CDATA[<p>Hello, <br />I would like to share my experience using Pianoteq with Tango Studio, a Linux distribution made especially for music.</p><p>So here we go:</p><p>I experienced a &quot;stress test&quot;, playing a maximum of notes with the right pedal down, to increase the polyphony to 128 (limit fixed at 128 in Pianoteq), increasing the CPU charge too.<br />The test is made on the same laptop and with same strains, i5, 4Gb RAM, soundcard: Focusrite Scarlett 6i6, at 48000Hz for an &quot;on the screen&quot; latency of 2,7msec (total in/out).</p><p>Result:</p><p>With Windows 7: at 128 of polyphony, the CPU charge comes to +/- 90-95%, a lot of dropouts occur.</p><p>With Tango Studio: at 128 of polyphony, the CPU charge comes to max 60%, without dropouts (Xruns in the Linux world). I was able to maintain this strain during 1 entire minute without dropouts. Then I stopped the test.</p><p>I just wanted to share this because I have now the conviction that a Linux Tango Studio OS is far more efficient and stable for music than Win 7.</p><br /><p>SK</p>]]></content>
			<author>
				<name><![CDATA[stamkorg]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3941</uri>
			</author>
			<updated>2014-05-22T07:55:50Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=931723#p931723</id>
		</entry>
</feed>
