[openbeos-midi] Re: I have succesfully compiled midi_server

  • From: "Matthijs Hollemans" <matthijs@xxxxxxxxxxxxxxxxxxx>
  • To: <openbeos-midi@xxxxxxxxxxxxx>
  • Date: Sat, 13 Sep 2003 19:16:59 +0200

Jerome wrote:
> I can play my keyboard from midi keyboard. I play few minutes
> and no bugs or wrong note (except mine :-))
> conclusion : implementation are correct for MY soundcard.

Cool! If you look in the midi_server source code, you'll see that I have
taken your original code and modified it a little bit (PortDrivers.h and

I don't remember all the changes I made to your code. However, I changed
sysex handling, so that realtime events can interleave sysex's, and any
non-realtime status byte (not just 0xF7) ends a sysex. (This is according to
the MIDI standard.)

I also changed handling of the 0xFF command (B_SYSTEM_RESET). For MIDI
files, 0xFF is a special command that can be followed by several other
bytes. But for normal MIDI data (not from a file), that is not allowed. In
that case, 0xFF is just one byte.


Other related posts: