help with Jack routing

Jan 21, 2011 at 6:36pm

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!

#54523
Jan 23, 2011 at 6:54am

You can use the jack_snapshot command line utility with [shell]

#196348
Jan 25, 2011 at 5:41pm

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…

#196349
Jan 25, 2011 at 10:56pm

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!

#196350
Jan 26, 2011 at 4:00am

Not really on-topic for this forum, but anyway…. have you tried Save/Load Studio Setups (in File menu)?

#196351
Jan 26, 2011 at 11:14am

@ 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!

#196352
Jan 26, 2011 at 2:29pm

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.

#196353
Jan 26, 2011 at 3:18pm

@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.

#196354
Jan 26, 2011 at 3:50pm

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.

#196355
Jan 26, 2011 at 4:02pm

Cool, thanks for the followup. And even on topic now too! ;-)

#196356
Jan 26, 2011 at 5:26pm

So I take it you don’t need a jack_snapshot binary, then?

#196357
Jan 26, 2011 at 5:30pm

@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!

#196358
Jan 26, 2011 at 5:37pm

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.

Attachments:
  1. jacksnapshot
#196359
Jan 26, 2011 at 6:01pm

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:

– Pasted Max Patch, click to expand. –

hope it helps someone!

#196360
Jan 26, 2011 at 6:18pm

Thanks for sharing. But where can I get the [shell] object?

#196361
Jan 26, 2011 at 8:56pm

tools page, jeremy bernstein

#196362
Jan 27, 2011 at 1:05am

Thank you!

#196363

You must be logged in to reply to this topic.