[sdiy] MIDI bytestream parser
neil.johnson97 at ntlworld.com
Wed Nov 17 09:08:48 CET 2010
> another option might be a jumptable off (((byte - 0x80) >> 4) -
> 0x8), with a further jumptable for the selector off 0xf0.
> first jumptable has 8 entries, the second has 16.
Well, yes you could, but that's more code and more processing, when
you can do it with a single jumptable. Note that the system realtime
messages are treated separately to minimise the processing time.
> makes me less nervous than a hashtable, and faster too :-)
Are you sure?
More information about the Synth-diy