MIDI message handling
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
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