Re: Scripting jackd connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi worik,

worik wrote:
> Friends
> 
> Apologies if this has been asked and answered already but I can find no
> solutns.
> 
> My jackd set up is quite idiosyncratic.  When I plug in my external
> sound gear I have to change the connections each time to get sound out. 
> I also use a variety of gear from the same computer each with its own
> requirements.
> 
> I would like to be able to write a script that would start up jackd, set
> the default sound IO to use jackd (I am on Ubuntu Studio) start a couple
> of other applications and change the connections.
> 
> The man page for jackd is not much help.  I have found some pages that
> have part of the answer (e.., http://www.64studio.com/node/740) but
> surely there is some direct way of manipulating jackd connections
> without a mouse and GUI?

Jack usually comes with command-line utilities jack_connect
and jack_disconnect, which you can easily script.  To see
what ports are available, you can parse the output of
jack_lsp, which is the quick-and-dirty approach Nama uses.

There is jack-plumbing, a simple utility/daemon which will
make connections based on a config file, jack.plumbing.

There is also a python module that looks like it might
be helpful, although I wonder if it can connect
arbitrary ports.

https://pypi.python.org/pypi/JACK-Client/0.4.1

cheers,

Joel

 
> Worik
> 
> -- 
> Why is the legal status of chardonnay different to that of cannabis? 
>                   root@xxxxxxxxx 021-1680650, (03) 4821804
>                           Aotearoa (New Zealand)
>                              I voted for love
> 
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
> http://lists.linuxaudio.org/listinfo/linux-audio-user

-- 
Joel Roth
  

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux