MIDI parser source (bytestream->MIDI messages)

Christian Packmann <[email protected]> Tue, 27 Jan 2004 13:51:26 +0100
Newsgroups gmane.os.openbeos.midi
Message-ID <[email protected]>
Hi guys,

any hints where I can find source code which takes a raw byte stream and=20
parses it into MIDI messages?

I'm writing a server-type application to interface MIDI units with a seri=
al=20
"To Host" interface to be accessed from BeOS - there already is=20
serial_midi, but it only does MIDI-Out, not MIDI-In, and this isn't=20
acceptable.

Anyway, my MIDI-Out is working in principle, and I've got to the point=20
where the raw data from BSerialPort is coming in fine, but now I have to=20
parse that stuff, so I thought I'd rather ask here for sources before=20
ruining my mental health by writing it all anew.

More information about my project: it's named SerialMidiHost, is=20
implemented as a pure userland-affair, uses Midi2 Endpoints as Midi In/Ou=
t=20
ports. Currenty it's only CLI, but a GUI will follow as soon as the basic=
=20
stuff is working. And if you want the finished version for OBOS, that wou=
ld=20
be fine by me.

Bye,
Chris