← 返回命令列表

Linux command

aconnect 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List

aconnect -l

Connect

aconnect [sender_client]:[port] [receiver_client]:[port]

Disconnect

aconnect -d [sender_client]:[port] [receiver_client]:[port]

Example

aconnect -x

Example

aconnect -i

说明

aconnect is an ALSA (Advanced Linux Sound Architecture) utility for connecting and disconnecting MIDI ports. It manages the ALSA sequencer connections that route MIDI data between applications, hardware MIDI interfaces, and virtual MIDI ports. The tool is essential for setting up MIDI routing in Linux audio workflows, allowing you to connect MIDI controllers to synthesizers, route between DAWs, or chain MIDI effects processors.

参数

-l, --list
List current MIDI ports and connections
-i, --input
List only input (readable) ports
-o, --output
List only output (writable) ports
-d, --disconnect
Disconnect the specified ports
-x, --removeall
Remove all connections
-e, --exclusive
Connect ports exclusively (no other connections allowed)

FAQ

What is the aconnect command used for?

aconnect is an ALSA (Advanced Linux Sound Architecture) utility for connecting and disconnecting MIDI ports. It manages the ALSA sequencer connections that route MIDI data between applications, hardware MIDI interfaces, and virtual MIDI ports. The tool is essential for setting up MIDI routing in Linux audio workflows, allowing you to connect MIDI controllers to synthesizers, route between DAWs, or chain MIDI effects processors.

How do I run a basic aconnect example?

Run `aconnect -l` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l, --list do in aconnect?

List current MIDI ports and connections