[alsa-devel] MIDI message handling

Clemens Ladisch clemens at ladisch.de
Thu Jun 5 13:25:26 CEST 2008

Thorsten Edelhäußer wrote:
> I'm writing a driver for the MARIAN MARC 8 Midi soundcard. Today I
> tested some MIDI functionality and get some errors from hydrogen
> ("unhandled midi message type"). I did some research and got to the
> point, that the MIDI alive message (0xfe) should not arrive at the
> application.

The Active Sensing message is a valid MIDI message.  This seems to be a
bug in hydrogen.

> So my question is: Do I have to process the midi messages by myself
> before I give it to the alsa "snd_rawmidi_receive" function?
> Or is there already some code, which will do it?

The ALSA framework handles this automatically; your driver is not
required to interpret the MIDI data stream.


More information about the Alsa-devel mailing list