On Fri, Oct 2, 2009 at 3:16 AM, Clemens Ladisch <cladisch@xxxxxxxxxxxxxx> wrote:
Evan DeMond wrote:
> Just acquired a Edirol UM-2EX, a little USB MIDI adapter with 1 input and 2
> outputs, and I only seem to be able to use one of the outputs. Plugging it
> into my Eee PC (Arch Linux with ALSA 1.0.20) creates /dev/midi1, to which I
> can read and write with no trouble.
> But the second MIDI out is silent - does anyone know how I could openIn the ALSA raw MIDI interface or sequencer interface, both ports show
> it, perhaps through the ALSA library, or somehow getting a /dev/midi2,
> or otherwise?
up (see the output of "amidi -l" or "aplaymidi -l"). All ALSA
applications will see the second port.
Thanks - will delve into the rawmidi API when I get the chance.
(You could access the second port through /dev/midi1 by opening that
device a second time while it's still open.)
Just tried this, and while it will let me open /dev/midi1 twice, any notes sent using either of the handles sends the data on the first output only. Going back to /proc/asound/card1/midi0 shows data transmitted on Output 0, but still no bytes on Output 1.
(Did this with a simple Lua script that opened "/dev/midi1" twice in "wb" mode, wrote a Note On message to each, and flushed/closed them.)
Could this just be the behavior of the UM-2EX, or of ALSA's OSS emulation, or might I be omitting something? Happy to provide any details that would shed some light.
Thanks,
Evan
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user