Skip to contentSkip to conversation

MIDI message handling

DISCUSSION Thorsten Edelhäußer 2 participants 2 messages Jun 3, 2008 – Jun 5, 2008

lore
Share & tools
lore
#0 lore raw

Hi!

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. 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?

If someone is interested here is the project page:
http://sourceforge.net/projects/marc8-driver/

Regards,
Thorsten

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw
Quoted 5 lines · Thorsten Edelhäußer

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.

Quoted 3 lines

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.

Regards,
Clemens