$linuxjunkies
>

jack_connect(1)

Connect two JACK audio ports together.

UbuntuDebianFedoraArch

Synopsis

jack_connect [OPTIONS] source_port destination_port

Description

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

FlagWhat it does
-s, --server NAMEConnect to a specific JACK server (default is 'default')
-h, --helpDisplay help message and exit

Examples

Connect system audio input (microphone) to audio output (speakers)

jack_connect system:capture_1 system:playback_1

Route audio from PulseAudio to Ardour's first audio input channel

jack_connect PulseAudio:playback_FL Ardour:audio_in_1

Connect 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