[sdiy] MIDI message parsing

Neil Johnson neil.johnson97 at ntlworld.com
Sun Jun 20 12:23:59 CEST 2010


Hi all,

The next software component to develop as part of my Siel Opera6  
project is the MIDI parser.  I'd like it to be as general-purpose as  
possible, and will (like my other component projects) be released  
under BSD.  Aside from the actual core implementation (e.g, table  
driven vs. recursive-descent, etc) I see two main usage models:

- pushing received bytes INTO the parser, which may result in  
subsequent calls to handlers, (non-RTOS, interrupt handler or round- 
robin model)

- pulling received bytes out of a queue and calling handlers as  
needed (RTOS model).

Each approach has major and minor differences and I'd rather focus on  
one model.  So I'd welcome input from those who have implemented  
devices which respond to MIDI input so I can determine which usage  
model(s) are the most popular and design accordingly.

Cheers,
Neil
--
http://www.njohnson.co.uk






More information about the Synth-diy mailing list