Restored from previous forum. Originally posted by Joseph.
i think you may check out some midi samples inside the snippet collection downloadable at the excellent pb resource site
I have found:
api_midi
basicmidi
midiinfo
as far as is midiplayer concerned you may consider the mci api too
as far as to write a complete sequencer (ie: with midi playing/recording capabilities) it is actually a bit more difficult, you have to read carefully the midi api documentation (especially the midiin/midiout callback mechanism) or 'get connected' to some midi dlls already available on the Internet (i suggest you to check out the harmonycentral.com midi development tools section, you may find for example the maximum midi toolkit dlls) or, last but not least, get interfaced to the Microsoft Direct X (DirectMusic) portion dedicated to sounds and music: as PB allows to use APIs all of the above possibilities are available in theory