All inputs (analog/digital) to class compliant MIDI firmware?

Ok, so I found this which looks pretty good. I've not messed with Teensy's at all, so don't know how different it is to 'regular' Arduino stuff.

http://www.pjrc.com/teensy/td_midi.html