[sdiy] MIDI parser

Tom Wiltshire tom at electricdruid.net
Mon Nov 13 23:45:42 CET 2017


I’ll give Neil J a big pat on the back too!

Not because I used his Miby code (which I’m sure is fine) but because he published his flowchart:

	https://github.com/nejohnson/miby/blob/master/doc/midi%20flowchart.pdf

I used this diagram as the basis of my own MIDI parsers, which I’ve now written in PIC ASM, dsPIC ASM30, and C. I might have tweaked it a bit along the way, but the essential structure and logic of it is Neil’s. It’s a sound foundation for your own work if you want to do the thing from the bottom up. I felt I needed to write it myself for my own satisfaction and learning, but having a roadmap to find the way made it much easier until I got to the point at which I properly understood what I was doing.

Thanks to Neil for helping get me over the hump with MIDI.

Tom

==================
       Electric Druid
Synth & Stompbox DIY
==================

> On 13 Nov 2017, at 21:00, Neil Johnson <neil.johnson71 at gmail.com> wrote:
> 
> Hi,
> 
> Ibi Sum wrote:
>> I like Neils little lib:
>> 
>> https://github.com/nejohnson/miby
>> 
>> Short, sweet, covers a lot of bases.
>> 
>> Easy to wire up to most runtimes.
> 
> Thanks for the props!  I was just about to mention this too, but you
> beat me to it!!!
> 
> Cheers
> Neil
> -- 
> http://www.njohnson.co.uk
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at synth-diy.org
> http://synth-diy.org/mailman/listinfo/synth-diy





More information about the Synth-diy mailing list