Re: jack_disconnect on ports with spaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux