This tutorial is a guide to setting up the simplest possible DirectMusic application, one that simply plays a primary segment. In this example the segment represents a MIDI file, but the process of loading and playing the data would be exactly the same if the source were a segment authored in a tool such as DirectMusic Producer.
The tutorial is broken down into the following steps: