Microsoft DirectX 8.0 (Visual Basic)

DirectMusicSegment8

Represents a single piece of music or a template.

Segments are usually loaded by calling DirectMusicLoader8.LoadSegment and DirectMusicLoader8.LoadSegmentFromResource. They can also be composed from musical elements by using methods of the DirectMusicComposer8 object, or created from existing segments by using the DirectMusicSegment8.Clone method.

The methods of the DirectMusicSegment8 object can be grouped as follows:

Timing and looping GetLength
  GetLoopPointStart
  GetLoopPointEnd
  GetRepeats
  GetStartPoint
  SetLength
  SetLoopPoints
  SetRepeats
  SetStartPoint
Instruments ConnectToCollection
  Download
  Unload
Parameters SetAutoDownloadEnable
  SetStandardMidiFile
  SetTempoEnable
  SetTimeSigEnable
Miscellaneous Clone
  GetAudioPathConfig
  GetChordMap
  GetName
  GetStyle