[sdiy] MIDI State Machine diagram - please comment
Neil Johnson
neil.johnson97 at ntlworld.com
Wed May 6 20:58:05 CEST 2009
Hi John,
> http://mysite.verizon.net/jspeth/MIDI_FSM.pdf
- In your "status unknown" state you don't handle System Realtime
messages, while you do in other states.
- Why treat Note On and Note Off differently? They have the same
structure, just different status byte. As Achim suggests treat them
the same, and then interpret the collection of three bytes later on -
its also much easier to pick up on the 0-velocity note-off command.
- In the Sysex state what do you do if you receive a status byte
other than EOX? The official line is to abort the sysex. Specific
to your diagram, what if a Note On status byte terminates a sysex?
- What about all the other MIDI messages? There is lots of useful
information coming across the MIDI cable. Seems odd to support Sysex
but ignore pitchbend or even mod.wheel.
- No mention of channel filtering for the note messages. Are you
supporting OMNI ON mode only?
Look forward to seeing the update!
Cheers,
Neil
--
http://www.njohnson.co.uk
More information about the Synth-diy
mailing list