Preconfigured Playback

Windows Media Encoder SDK banner art

In this scenario, you want to supply application developers not only with sound files but also with a complete playback configuration. This configuration might include 3-D capabilities or effects such as chorus, echo, and reverberation.

DirectMusic Producer enables you to specify the configuration of DirectSound buffers and DirectX Media Objects (DMOs) that process the sounds after they leave the synthesizer. This audiopath configuration can be included in the segment file or distributed separately. In addition, by inserting a toolgraph in a segment, you make tools available that can intercept performance messages before they reach the synthesizer. Tools can alter the content of messages or respond in other ways.

When implementing this scenario, consider the following:

  • DirectMusic applications can create standard audiopaths and insert toolgraphs in a performance without benefit of a supplied configuration. By supplying a configuration with your content, however, you ensure that the sounds are played back the way you want. In addition, you can implement specialized configurations that cannot be created by using only the DirectMusic API.
  • No standard tools are supplied with DirectMusic Producer or the DirectMusic SDK. When distributing a toolgraph, distribute the tool DLLs as well.
  • Several standard DMOs are installed as part of DirectMusic. In addition, others may be registered on your system. Be sure that any DMOs you use in your content files, other than the standard DirectMusic DMOs, are installed on the user's system.

Concepts

How-to