[LAU] ANN: jack-matchmaker 0.3.0

Christopher Arndt chris at chrisarndt.de
Thu Nov 3 23:45:09 UTC 2016


jack-matchmaker
---------------

jack-matchmaker is a small command line utility that listens to JACK
port registrations by clients and connects them when they match one of
the port pattern pairs given on the command line at startup.
jack-matchmaker never disconnects any ports.

The port name patterns are specified as pairs of positional arguments or
read from a file (see below) and are interpreted as Python regular
expressions, where the first pattern of a pair is matched against output
(readable) ports and the second pattern of a pair is matched against
input (writable) ports. Matching is done against the normal port names
as well as any aliases they have.

Example:

    jack-matchmaker '.*:out_l' system:playback_1 \
                    '.*:out_r' system:playback_2

Port patterns can also be read from a file given with the
-p/--pattern-file option. The file is re-read when the HUP signal is
received.


Where to find it:

GitHub: https://github.com/SpotlightKid/jack-matchmaker
PyPI: https://pypi.python.org/pypi/jack-matchmaker


Requirements:

* A version of Python 3 with a ctypes module (i.e. PyPy 3 works too).
* JACK version 1 or 2.
* Linux, OS X (untested) or Windows (untested, no signal handling

Acknowledgements:

jack-matchmaker is written in Python and incorporates the jacklib module
taken from falkTX's Cadence application.

It was inspired by jack-autoconnect, which also auto-connects JACK
ports, but doesn't support port aliases. jack-autoconnect is also
written in C++, and therefore probably faster and less memory hungry.

The idea to read ports (patterns) from a file and re-read them on the
HUP signal was "inspired" by aj-snapshot.


Share & Enjoy,

Chris Arndt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 961 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20161104/351b0206/attachment.pgp>


More information about the Linux-audio-user mailing list