Controlling DirectMusic

Use the controls in this sample to change various characteristics of DirectMusic playback. Note that the speed does not change until after the currently playing measure is finished. In the case of stopping the music, the measure finishes, and then the end transition is played.

Segment Timer: 0

      
Volume Speed
Mute:


To view the source code, right-click this page and choose View Source from the shortcut menu that appears.

© 2007 Microsoft Corporation. All rights reserved. Terms of use.