Windows Media Encoder SDK banner art

Imported MIDI Segment Structure

Data imported from a MIDI file is placed in sequence tracks in a new segment. One track is created for each instrument channel in the imported file, and each track is assigned its own PChannel. Standard MIDI files are limited to channels 1 through 16. The PChannel number used in the segment matches the channel number in the original MIDI file.

Note   Sequence tracks that belong to the same track group are grouped together in the Segment Designer window, and are also called parts.

The following figure shows a segment that was created by importing a MIDI file containing six instrument tracks.

Structure of an imported MIDI file

The segment in the figure contains the following data imported from the DemoMIDI file:

Note   Regardless of the arrangement of channels in a MIDI file, DirectMusic Producer imports channels in ascending order 1-16. For information about changing the order in which PChannels appear in the segment, see Imported PChannels.

A basic beginning chord of 1 C M is inserted automatically in the chord track of a segment when you import a MIDI file. This chord does not affect the MIDI data, and changing the chord does not transpose MIDI data into a different key. For more information, see Chord Track.

All tracks in the newly created segment are initially assigned to a track group. For more information, see Track Groups.

In DirectMusic Producer, PChannel 10 is reserved for drums. If a MIDI file contains an instrument other than drums in track 10, the track is assigned to another available PChannel.


© 2000-2001 Microsoft Corporation. All rights reserved.