Share via


Segment Object

Windows Media Encoder SDK banner art

The Segment object represents a piece of music or a template. This object has the following methods.

Method Description
DownloadSoundData Downloads instruments or wave data used by the segment.
Load Reads the segment into memory from a file or resource and makes it available for playback.
Play Plays the segment.
Recompose Recomposes the chords of the segment, using the current chord map.
Stop Stops all instances of the segment that are playing.
UnloadSoundData Unloads instruments or wave data used by the segment.