* MIDI message handling
@ 2008-06-03 19:54 Thorsten Edelhäußer
2008-06-05 11:25 ` Clemens Ladisch
0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Edelhäußer @ 2008-06-03 19:54 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 596 bytes --]
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
[-- Attachment #1.2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: MIDI message handling
2008-06-03 19:54 MIDI message handling Thorsten Edelhäußer
@ 2008-06-05 11:25 ` Clemens Ladisch
0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2008-06-05 11:25 UTC (permalink / raw)
To: Thorsten Edelhäußer; +Cc: alsa-devel
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.
Regards,
Clemens
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-05 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-03 19:54 MIDI message handling Thorsten Edelhäußer
2008-06-05 11:25 ` Clemens Ladisch
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.