[LAU] alsa sequencer port numbering

Bob van der Poel bob at mellowood.ca
Fri Nov 19 22:26:10 UTC 2010


> Oops, sorry I think you need to address the client name, not the port name,
> so in your case something like aplaymidi -p "Ensoniq AudioPCI":0 But then
> aplaymidi needs to support that and according to its man page it does. So
> you can even use just aplaymidi -p Ensoniq

Okay ... learn something new every day! I had no idea one could use a
device name.

But, it doesn't seem to work here :)

First, the version of aplaymidi I have.

bob$ aplaymidi -V
aplaymidi version 1.0.23

And, I checked the man page and it does say one can use the device name.

And the ports are:

bob$ aplaymidi -l
 Port    Client name                      Port name
 14:0    Midi Through                     Midi Through Port-0
 20:0    Ensoniq AudioPCI                 ES1371

But, it doesn't work as advertised:

bob$ aplaymidi -p ES1271 test.mid
Invalid port ES1271 - No such file or directory

or

bob$ aplaymidi -pEnsoniq test.mid
Invalid port Ensoniq - No such file or directory

However, it does appear that a full name does work:

bob$ aplaymidi -p "Ensoniq AudioPCI" test.mid

And export ALSA_OUTPUT_PORTS="Ensoniq AudioPCI" also seems to work.

is something broken here since I can't use "Ensoniq" or "ES1271" ?




-- 
**** Listen to my CD at http://www.mellowood.ca/music/cedars ****
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bob at mellowood.ca
WWW:   http://www.mellowood.ca


More information about the Linux-audio-user mailing list