Topic: Linux version: JACK auto-connect
Worked on my dedicated Pianoteq linux box this weekend. I'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)
While I'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. Once jackd is running again, Pianoteq still does not play. Going to the options, it shows JACK as the audio output, but the other settings are blank, meaning it's not connected to jackd. It is set to auto-detect or auto-connect (I forget the exact wording and I'm not at that computer right now) but it doesn't seem to auto-connect right away.
Could you maybe increase the JACK auto-connect attempt frequency when it's disconnected? Once I figure out how to get JACK to restart after resuming, this will be the only obstacle.
Obviously, the simple solution is to not suspend the machine, but since it's single-purpose, and since I don'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. And suspending/resuming would certainly be faster than shutting down and starting up. I also haven't figured out how to get jackd and Pianoteq running automatically after boot-up with no interaction, so suspending seems like my optimal solution.
Actually, what would be perfect for stand-alone linux machines (poor-man's VSTi host, v-machine, etc.) would be some kind of server/daemon mode. Maybe it could start its own jackd instance if one isn't running already.