Windows Media Encoder SDK banner art

To import a MIDI file

  1. On the File menu, click Import File into Project, and then click MIDI File as Segment.
  2. Open the DMUSProducer/QuickStart project folder, located in your My Documents folder.
  3. Select the DemoMIDI.mid file and click Open.

The MIDI file is inserted in the project tree as a new segment file called DemoMIDI.sgp. Below the file name in the project tree, you will see the internal name for the segment component, DemoMIDI.

The Segment Designer Window is displayed in the following figure, showing the new segment.

DemoMIDI in Segment Designer

All the MIDI data from the source file, including tempo, notes, continuous curves, and patch assignments, has been imported into the segment. This data is arranged in horizontal tracks.

The Segment Designer window contains the following elements:

The row at the top of the window shows the measures and beats as vertical lines, and numbers the measures. The imported MIDI file contains 13 measures of music, and the new segment automatically has the same number of measures. You may have to scroll to view all 13 measures.


© 2000-2001 Microsoft Corporation. All rights reserved.