aconnect [options] [sender] [receiver] aconnect [options]
Like its GUI relative alsa-patch-bay, aconnect connects ports in MIDI hardware and software to route events, similar to running patch cables between different mixers and synthesizers in an all-hardware audio system. aconnect is part of the ALSA (Advanced Linux Sound Architecture) system.
-d,--disconnect Undo the connection described.
-e,--exclusive The connection being created must be exclusive:
the sender and receiver ports may not connect to any other port.
-i,--input List all input (sender) ports. This flag is used without any other arguments or flags.
-o, --output List all output (receiver) ports. This flag is used without any other arguments or flags.
-r, --real queue-name All events processed through this connection get new timestamps from the named real-time queue.
The receiving port must have access to, and use, the real-time queue.
-t, --tick queue-name All events processed through this connection get new timestamps from the specified tick queue.
-x, --remove-all Cancel all connections. This flag is used without any other arguments or flags.