Re: [LAU] jack_disconnect on ports with spaces

From: David Adler <david.jo.adler@email-addr-hidden>
Date: Mon Feb 20 2012 - 13:11:32 EET

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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Feb 20 12:15:05 2012

This archive was generated by hypermail 2.1.8 : Mon Feb 20 2012 - 12:15:06 EET