The PIMap text file is required so that the score player knows what to do when it encounters a MIDI program change command.
Sequences are arrays of events. In this case, the events are MIDI commands with time stamps. The Collections hold multiple Sequences that are played in parallel.
StartObject()
.
There are a number of things you can do with a score while it is playing. You can mute tracks, change the tempo, or pause. You can also request that callback functions be called when the score starts, repeats or stops. You can use these to chain together multiple score fragments for interactive score playing. See CoalRiver.c for an example.
See Playing MIDI Scores, for programming details.
For an example of playing a musical score, see the example program playmf.c.