Using Audiopaths
A DirectMusic performance typically contains one or more audiopaths, which manage the flow of sound data through various objects. An audiopath might include the performance itself, a segment, toolgraphs, the synthesizer, DirectSound buffers, effects DMOs , and the primary DirectSound buffer where the final mixing is done.
If your application does nothing more complicated than playing 2-D sound effects or MIDI files, you can set up a standard default audiopath and play everything on it. But to take advantage of the full power of DirectMusic you may want to use multiple audiopaths and exercise more control over them.
Audiopaths use only the Microsoft software synthesizer. If you want your application to use another port or ports, you must initialize the performance by using IDirectMusicPerformance8::Init. For more information, see Using DirectMusic Ports.
This section is a guide to creating audiopaths, playing segments on them, and accessing objects within them. The following topics are covered: