Skip to main content

Auto-connect new JACK ports.

Project description

Auto-connect new JACK ports matching the patterns given on the command line.

Description

A small command line utility that reacts 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.

The port name patterns are specified as positional arguments and are interpreted as 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 may have (you can use jack_lsp -A to list all available ports with their aliases).

As many pattern pairs as needed can be given.

Usage

Automatically connect the first two ports of Fluidsynth to the audio outs:

jack-matchmaker "fluidsynth:l_01" "system:playback_1" \
                "fluidsynth:r_01" "system:playback_2"

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 basically does the same thing, but doesn’t support port aliases. It’s also written in C++, and therefore probably much faster and and less memory hungry.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

jack-matchmaker-0.1.0.zip (21.5 kB view details)

Uploaded Source

jack-matchmaker-0.1.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

jack_matchmaker-0.1.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file jack-matchmaker-0.1.0.zip.

File metadata

File hashes

Hashes for jack-matchmaker-0.1.0.zip
Algorithm Hash digest
SHA256 b362542697c07e0e5c0efb2e626e7adbb367615dcc97e55c96102cc4b25a2290
MD5 fef9c8fe0ba6b7f72a958890128700f3
BLAKE2b-256 bb30aa7fcd9236f9005a86b7bec68b8106bd1e0187deff7c992add14e055c3c3

See more details on using hashes here.

File details

Details for the file jack-matchmaker-0.1.0.tar.gz.

File metadata

File hashes

Hashes for jack-matchmaker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e96898fe1fa1e1f6ea086c8fbd235e2eaf7ea7fd8aa968d0db338095ec2d83fd
MD5 22a3be852bf56bc5f22a8df11d54449f
BLAKE2b-256 c23bcec3a101de60d5c3f51e5d004cb0db9d81a8d0ccfb05d27226202cc9a01d

See more details on using hashes here.

File details

Details for the file jack_matchmaker-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jack_matchmaker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f86ed152469ff4a44e6e948ff02cfbd4959f5696706167c9715787d3e5dd7fb8
MD5 2f87d57509597950ba6cca325d026dc9
BLAKE2b-256 9b3ab8fd28ec9729aa0deef6bb06ec4b63caff88aa10cdd1ae1e1cfd1ae43182

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page