DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: Paul Perry (Frostwave) on June 13, 2004, 08:14:51 AM

Title: Source code for MIDI parser?
Post by: Paul Perry (Frostwave) on June 13, 2004, 08:14:51 AM
I know some ppl here have done stuff with micros and midi... the chap I had doing programming has split & I'm wondering if anyone here knows a site with annotated source for code to interpret midi?
Title: Source code for MIDI parser?
Post by: Maneco on June 13, 2004, 08:29:46 AM
http://www.ucapps.de/index.html has tons of information regarding pics and midi,and they have a forum...
http://www.audiomulch.com/midipic/

http://www.colinfraser.com/m2d/m2d.htm
Title: Source code for MIDI parser?
Post by: Paul Perry (Frostwave) on June 14, 2004, 10:06:39 AM
thanx Maneco,  some prime stuff there!!!
I can't understand why people don't sell 'pre-programmed' PICs for various DIY apps, for non-programmers like me! :oops:
Title: Source code for MIDI parser?
Post by: smoguzbenjamin on June 14, 2004, 10:09:26 AM
That would probably be quite profitable... A design-it-yourself IC shoppe :mrgreen: Right - now I'm not doing it, no time, knoledge or capital - any takers? :D
Title: Source code for MIDI parser?
Post by: aron on June 14, 2004, 10:05:42 PM
Believe it or not, the parser code was in the original MIDI spec I believe. I recall reading it long ago.

Right now I can't remember if it was for MIDI Files or..????

In any case, a large part of the reason is that most modern OS give you a packet that has the MIDI already parsed into a complete message.

What you are talking about is reading raw MIDI streams????

THis code looks to be in C++ but the logic is there:

http://cvs.sourceforge.net/viewcvs.py/*checkout*/open-beos/current/src/servers/midi/PortDrivers.cpp?rev=1.3
Title: Source code for MIDI parser?
Post by: Paul Perry (Frostwave) on June 15, 2004, 06:02:49 AM
thanks Aron, this is probably what is wanted! (I'm not the man, i'm just the man who knows the man..)