Windows Media Encoder SDK banner art

PChannel Priority

The number of voices on playback devices is limited. This means that there is a limit to the number of notes that can be played simultaneously. When segments are played, the number of notes on any beat could exceed the playback capabilities of the output port.

There are several situations when playback of DirectMusic Producer files can exceed the voice capacity of an output port. These include:

The Microsoft Synthesizer supports up to 1000 voices. Other devices might support more or fewer.

If playback of a file or group of files exceeds the maximum number of voices for a port, the device must use voice stealing, in which voices are taken from one channel for use by another. Each playback device and synthesizer has its own method for managing voice stealing, and for giving priority to some notes in a performance when more voices are required than are available.

In addition to the limitation on voices, there are other times when not enough memory is available to fully play a performance. For example, if the combination of multiple files being processed by DirectMusic results in excessive memory use, there may not be sufficient memory available to store all DLS sounds and all playback information at one time. This may force DirectMusic to omit some PChannels from playback.

If you are using a DirectMusic-compatible output port, including the Microsoft Synthesizer, the port can make use of the priority setting you assign to each PChannel. If the PChannel group exceeds its voice allocation or PChannels need to be dropped for some other reason, the PChannels with the lowest priority are dropped.

The following priority settings are available in the PChannel Properties window:

See Also


© 2000-2001 Microsoft Corporation. All rights reserved.