jack_connect(1)
Connect two JACK audio ports together.
Synopsis
jack_connect [OPTIONS] source_port destination_portDescription
jack_connect connects a source JACK audio port to a destination port. JACK (JACK Audio Connection Kit) is a low-latency audio server that allows multiple audio applications to share the same audio hardware and pass audio between themselves.
Port names typically follow the format client_name:port_name. You can discover available ports using jack_lsp. Connections are bidirectional in their effect but unidirectional in their declaration—audio flows from source to destination.
Common options
| Flag | What it does |
|---|---|
-s, --server NAME | Connect to a specific JACK server (default is 'default') |
-h, --help | Display help message and exit |
Examples
Connect system audio input (microphone) to audio output (speakers)
jack_connect system:capture_1 system:playback_1Route audio from PulseAudio to Ardour's first audio input channel
jack_connect PulseAudio:playback_FL Ardour:audio_in_1Connect an ALSA device to JACK system playback (useful for hardware passthrough)
jack_connect 'ALSA pcm:CARD=0:0:playback' 'system:playback_1'Create multiple stereo connections in one command using command chaining
jack_connect system:capture_1 system:capture_2 && jack_connect system:playback_1 system:playback_2