Share via


Performance

Windows Media Encoder SDK banner art

The performance is an object that manages all sound playback in a DirectMusic application. The performance is responsible for cueing segments, calling on segments to generate their data at the appropriate time, and mapping instruments to the synthesizer. It also controls global values such as timing, tempo, and master volume. Most applications have a single performance object, but it is possible to have more than one performance with different parameters.

You do not work directly with performances when creating content, but the performance concept underlies some key elements of DirectMusic Producer. For example, you assign performance channels, also called PChannels, to musical parts so that at run time these parts are correctly routed through the performance, play on the appropriate instruments, and are sent to the right output buffers.

Related concepts