Microsoft DirectX 9.0 SDK Update (Summer 2004) |
Using Segments
Segments are the basic units of playable data in the DirectMusic performance. A segment is represented by an IDirectMusicSegment8 interface.
Each segment consists of one or more tracks, each represented by an IDirectMusicTrack8 interface. Tracks contain most of the data for the segment, whether that data consists of note events, band changes, tempo changes, or other timed events. Applications generally don't need to use this interface, because the tracks are managed through the segment object.
This section provides more information on segments in the following topics:
- Creating Segment Objects
- Playing Segments
- Segment States
- Pausing Segments
- Control Segments
- Self-Controlling Segments
- MIDI-Based Segments
- WAV-Based Segments
© 2004 Microsoft Corporation. All rights reserved.