help with Jack routing
Today I started using Jack instead of Soundflower and everything is fine, but I can't help finding a way to start Jack with a predefined routing setting. It seems that every time i start it i need to do it manually, and with 8 channels is a bit of a pain...
I found an autostart script which says it should automate the process (http://www.jackosx.com/download.html), but i don't know how to do it.
Has somebody had the same problem?
any tip?
thanks!
You can use the jack_snapshot command line utility with [shell]
thanks EasyMac, but i'm searching all the web and it seems there's no more jack_snapshot around there to download... every link is broken...
one more thing...
I found this list of similar tools (http://www.flo.mur.at/blog/jack-connection-saving-and-restoring ), but jack_snapshot is the only one that fits my need (disconnect and reconnect without user promt)...
I've been searching for hours... and still can't figure out a way to have jack_snapshot!
Does anybody have a working link, or a file to share? that would be great, and really, really appreciated!
Not really on-topic for this forum, but anyway.... have you tried Save/Load Studio Setups (in File menu)?
@ dan, sorry for that but i was digging heavily on cyclings' forum and found so many people switching from sounflower to jack that in a way i though issues like this could be of some interest here... PS save/load is ok but i wish i could completely automatize the process. That option is useful only with a proper applescript. In case i'll ask for that on apple forum ^_^ thx!
Now that you mention it, I remember having trouble getting my hands on jack_snapshot as well.
I remember all links I could find on the web to an OSX binary being dead, but I don't remember how I actually ended up getting it. Maybe it was installed with JackOSX? I take it you've installed JackOSX, have you tried just invoking it from the command line or checking in your usr/bin folder?
At any rate, if you don't have it at all I can upload it here for you.
@personal_username, ah OK, now I understand. Yes, you would have to do it with an Applescript. You could try emailing Arvid, the author of the Autostart applescript on the Jack OS X site, to see if he can help.
thanks Dan,
I'll try and do that, even if right now - for what i have experienced in 20 minutes - i see a better option to use command line messages together with [shell] object.
For anybody interested, after starting jack i have these commands from the command line to route an 8ch out of Kontakt to an 8 ch input of max and max to stereo speakers:
***
jack_connect MaxMSP:out1 system:playback_1
jack_connect MaxMSP:out2 system:playback_2
jack_connect Kontakt 4:out1 MaxMSP:in1
jack_connect Kontakt 4:out2 MaxMSP:in2
jack_connect Kontakt 4:out3 MaxMSP:in3
jack_connect Kontakt 4:out4 MaxMSP:in4
jack_connect Kontakt 4:out5 MaxMSP:in5
jack_connect Kontakt 4:out6 MaxMSP:in6
jack_connect Kontakt 4:out7 MaxMSP:in7
jack_connect Kontakt 4:out8 MaxMSP:in8
***
now i just need to create Max messages of the above and patchcord them to the [shell] object.
Cool, thanks for the followup. And even on topic now too! ;-)
So I take it you don't need a jack_snapshot binary, then?
@EasyMac
sorry, i forgot to reply... well I would like give it a try... if it's ok with you i would appreciate a lot your uploading. thanks a lot!
Here it is.
I'm assuming it's kosher to post it because the source is freely distributed.
I don't always understand the full implications of this sort of licensing, but to be clear for anyone who downloads, I am not responsible for either the writing or compiling of the code in this binary file, and claim no rights over it. I'm merely distributing it freely as it was once freely distributed to me by some means that is either difficult for others to locate or gone entirely.
Enjoy jack_snapshot.
thanks EasyMac, I'll give it a try!
and for the command line alternative I mentioned before, in my case each message going to [shell] has to have a "usr/local/bin/" before each jack command. like this:
hope it helps someone!
Thanks for sharing. But where can I get the [shell] object?
tools page, jeremy bernstein
Thank you!