Platform SDK: DirectX

Tutorial 1: Playing a MIDI File

[Visual Basic]

This tutorial pertains only to applications written in C++. See DirectMusic Visual Basic Tutorials.

[C++]

This tutorial is a guide to setting up the simplest possible DirectMusic application, one that just 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 divided into the following steps: