DirectX SDK

Using Transitions

To avoid a sudden and perhaps discordant break when stopping one segment and beginning another, or when bringing the music to a close, you can have the composer create an intermediate or closing segment that provides an appropriate transition.

[C++]

There are two methods for composing transitional segments.

Both these methods take a chord map, a command, and a set of flags as parameters.

[Visual Basic]

There are two methods for composing transitional segments.

Both these methods take a chord map, a command, and a set of flags as parameters.

Transitions are normally a single measure in length. There are two exceptions: when the DMUS_COMPOSEF_LONG flag is included and when the command is DMUS_COMMANDT_END and the end embellishment in the style is more than one measure long.