<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Modartt user forum - Linux version: JACK auto-connect]]></title>
		<link>https://forum.modartt.com/viewtopic.php?id=667</link>
		<description><![CDATA[The most recent posts in Linux version: JACK auto-connect.]]></description>
		<lastBuildDate>Wed, 10 Jun 2009 10:41:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Linux version: JACK auto-connect]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=4861#p4861</link>
			<description><![CDATA[<p>Pretty much nothing that uses Jack will handle this situation anyway.</p><p>A better solution would be for jackd to know about the suspend/resume itself, keeping all clients active. That would work for everything and require no change to PianoTeq.</p><p>Jackd just doesn&#039;t handle the resume well at all, and will encounter many xruns. PianoTeq is also perfectly capable of running with ALSA with very low latency (lower than with Jack) so on a standalone system there&#039;s little need for Jack.</p>]]></description>
			<author><![CDATA[null@example.com (petern)]]></author>
			<pubDate>Wed, 10 Jun 2009 10:41:30 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=4861#p4861</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux version: JACK auto-connect]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=4828#p4828</link>
			<description><![CDATA[<p>That&#039;s true, ALSA would work for a standalone machine.&nbsp; I&#039;ve just been so used to the idea of running it with JACK that it&#039;s what I went to first.</p><p>But yeah, somewhere in the suspend/resume process, jackd gets killed.&nbsp; I haven&#039;t been able to investigate why.&nbsp; It causes Pianoteq to lose its JACK connection, and then the only way to restore it is to restart jackd and either restart Pianoteq or select ALSA then JACK again.</p><p>This is just using the default Ubuntu suspend operation.&nbsp; I might try playing with the swsusp/TuxOnIce/hibernate tools.&nbsp; Maybe it&#039;s something about the sound hardware being disabled at some point in the suspend or resume process.</p><p>In general, it might be nice to have it try to reconnect to JACK if it loses the connection, though.</p>]]></description>
			<author><![CDATA[null@example.com (JerryKnight)]]></author>
			<pubDate>Mon, 08 Jun 2009 20:27:01 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=4828#p4828</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux version: JACK auto-connect]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=4826#p4826</link>
			<description><![CDATA[<p>you mean jackd is killed before suspend, and then relaunched when resuming ? The current pianoteq version does not try to reconnect after jackd has been shutdown, but yes that&#039;s something we could try to do.</p><p>Did you try to use alsa instead ? If you are not using any other jack client, the alsa backend may be convenient.</p>]]></description>
			<author><![CDATA[null@example.com (julien)]]></author>
			<pubDate>Mon, 08 Jun 2009 16:04:53 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=4826#p4826</guid>
		</item>
		<item>
			<title><![CDATA[Linux version: JACK auto-connect]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=4824#p4824</link>
			<description><![CDATA[<p>Worked on my dedicated Pianoteq linux box this weekend.&nbsp; I&#039;m trying to get it to suspend or hibernate smoothly, with minimal startup time, so that it could eventually function without any user-interaction. (ie no monitor and keyboard sitting on my piano)</p><p>While I&#039;m still trying to get jackd to restart after coming out of suspend (or qjackctl to do the restarting) I noticed something about Pianoteq as well.&nbsp; Once jackd is running again, Pianoteq still does not play.&nbsp; Going to the options, it shows JACK as the audio output, but the other settings are blank, meaning it&#039;s not connected to jackd.&nbsp; It is set to auto-detect or auto-connect (I forget the exact wording and I&#039;m not at that computer right now) but it doesn&#039;t seem to auto-connect right away.</p><p>Could you maybe increase the JACK auto-connect attempt frequency when it&#039;s disconnected?&nbsp; Once I figure out how to get JACK to restart after resuming, this will be the only obstacle.</p><p>Obviously, the simple solution is to not suspend the machine, but since it&#039;s single-purpose, and since I don&#039;t play on it all hours of the day and night, and since my electric bill is already high enough, I would like for it to be able to suspend itself.&nbsp; And suspending/resuming would certainly be faster than shutting down and starting up.&nbsp; I also haven&#039;t figured out how to get jackd and Pianoteq running automatically after boot-up with no interaction, so suspending seems like my optimal solution.</p><p>Actually, what would be perfect for stand-alone linux machines (poor-man&#039;s VSTi host, v-machine, etc.) would be some kind of server/daemon mode.&nbsp; Maybe it could start its own jackd instance if one isn&#039;t running already.</p>]]></description>
			<author><![CDATA[null@example.com (JerryKnight)]]></author>
			<pubDate>Mon, 08 Jun 2009 15:20:59 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=4824#p4824</guid>
		</item>
	</channel>
</rss>
