[LAU] jack_disconnect on ports with spaces

David Adler david.jo.adler at gmail.com
Mon Feb 20 11:11:32 UTC 2012


On Mon, Feb 20, 2012 at 11:35 AM, Iain Mott wrote:
> no, jack_lsp still only lists the audio clients/ports and not the alsa
> midi ports - i wonder if there's something that needs to be done in
> the .asoundrc file? ....

As Julien wrote, use aconnect for Alsa-Midi ports.

Some examples:

$ 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).

with IDs:
$ aconnect -d 130:0 131:0

with strings:
$ 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


cheers,
d


More information about the Linux-audio-user mailing list