<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Linux version: JACK auto-connect]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=667&amp;type=atom"/>
	<updated>2009-06-10T10:41:30Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=667</id>
		<entry>
			<title type="html"><![CDATA[Re: Linux version: JACK auto-connect]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=4861#p4861"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[petern]]></name>
				<uri>https://forum.modartt.com/profile.php?id=996</uri>
			</author>
			<updated>2009-06-10T10:41:30Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=4861#p4861</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Linux version: JACK auto-connect]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=4828#p4828"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[JerryKnight]]></name>
				<uri>https://forum.modartt.com/profile.php?id=983</uri>
			</author>
			<updated>2009-06-08T20:27:01Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=4828#p4828</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Linux version: JACK auto-connect]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=4826#p4826"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[julien]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2</uri>
			</author>
			<updated>2009-06-08T16:04:53Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=4826#p4826</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Linux version: JACK auto-connect]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=4824#p4824"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[JerryKnight]]></name>
				<uri>https://forum.modartt.com/profile.php?id=983</uri>
			</author>
			<updated>2009-06-08T15:20:59Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=4824#p4824</id>
		</entry>
</feed>
