On Sun, May 25, 2008 at 11:12:24AM -0700, Miller Puckette wrote:
Is it out of the question simply to use the OSS MIDI API? That should be the default, and it's much less buggy than the ALSA one. (Apparently, though, there's sometimes a good reason to use teh ALSA one instead, I remember vaguely.)
To put out "sysex" MIDI, theoretically in either ALSA or OSS, send the bytes out serially, as in "247, NN, NN, 240", not in a list as in "247 NN NN 240".
OSS has, IIRC, been deprecated for many years now.
ALSA should be the correct one to use on Linux.
And, also, for the past year or so there's been a new JACK MIDI API which is a lot cleaner (and strongly-timed) than ALSA, although it of course uses ALSA for transmission to actual MIDI devices.
-ken