DirectX SDK |
An object of the DirectMusicSegment class represents a single piece of music or a template.
Segments are usually loaded by calling DirectMusicLoader.LoadSegment and DirectMusicLoader.LoadSegmentFromResource. They can also be composed from musical elements by using methods of the DirectMusicComposer object, or created from existing segments by using the DirectMusicSegment.Clone method.
The methods of the DirectMusicSegment object can be grouped as follows:
Timing and looping | GetLength |
GetLoopPointStart | |
GetLoopPointEnd | |
GetRepeats | |
GetStartPoint | |
SetLength | |
SetLoopPoints | |
SetRepeats | |
SetStartPoint | |
Duplication | Clone |
Instruments | ConnectToCollection |
Download | |
Unload | |
Parameters | SetAutoDownloadEnable |
SetStandardMidiFile | |
SetTempoEnable | |
SetTimeSigEnable |