On Mon, Feb 20, 2012 at 11:35 AM, Iain Mott wrote:
As Julien wrote, use aconnect for Alsa-Midi ports.
$ aconnect -io
will list all input and output ports
$ aconnect -lo
will display all output ports and display existing connections
Note that aconnect interprets "input" and "output" as viewed
from alsa-seq, not from the applications.
Application's ports capable of sending Midi messages will
be listed with aconnect -i, ports capable of receiving
messages are listed with aconnect -o accordingly.
To disconnect, use aconnect -d and either give it client IDs
and port IDs or client/port strings (or a combination of both).
$ aconnect -d 130:0 131:0
$ aconnect -d 'seq24:seq24 1' 'ams_1 Midi:ams_in'
as an alternative to quoting (as above), the spaces can
be escaped with a backslash:
$ aconnect -d seq24:seq24\ 1 ams_1\ Midi:ams_in
Linux-audio-user mailing list