Source code for MIDI parser?

Started by Paul Perry (Frostwave), June 13, 2004, 08:14:51 AM

Previous topic - Next topic

Paul Perry (Frostwave)

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?

Maneco


Paul Perry (Frostwave)

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:

smoguzbenjamin

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
I don't like Holland. Nobody has the transistors I want.

aron

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

Paul Perry (Frostwave)

thanks Aron, this is probably what is wanted! (I'm not the man, i'm just the man who knows the man..)