All code in these examples is totally free to copy, modify and distribute.
MIDI Input - how to open a MIDI In connection and share it between multiple windows
Harmonizer - add second voice to your melody
ABC Edit - use MIDI keyboard to edit ABC score
MIDI Console - how to dynamically create plugin instances and open multiple MIDI connections
MIDI Gear - identify the model of your MIDI instrument
General MIDI charts
If you have your own great examples, please leave us a note on the Message Board.