DirectX SDK

DMUS_COMPOSEF_FLAGS

The DMUS_COMPOSEF_FLAGS are used in the dwFlags parameter of the IDirectMusicComposer::ComposeTransition and IDirectMusicComposer::AutoTransition methods.

typedef enum enumDMUS_COMPOSEF_FLAGS { 
    DMUS_COMPOSEF_NONE                = 0,
    DMUS_COMPOSEF_ALIGN             = 0x1,
    DMUS_COMPOSEF_OVERLAP           = 0x2,
    DMUS_COMPOSEF_IMMEDIATE         = 0x4,
    DMUS_COMPOSEF_GRID              = 0x8,
    DMUS_COMPOSEF_BEAT             = 0x10,
    DMUS_COMPOSEF_MEASURE          = 0x20,
    DMUS_COMPOSEF_AFTERPREPARETIME = 0x40,
    DMUS_COMPOSEF_MODULATE       = 0x1000,
    DMUS_COMPOSEF_LONG           = 0x2000
}  DMUS_COMPOSEF_FLAGS;
DMUS_COMPOSEF_NONE
No flags. By default, the transition starts on a measure boundary.
DMUS_COMPOSEF_ALIGN
Align transition to the time signature of the currently playing segment. This flag is not currently implemented.
DMUS_COMPOSEF_OVERLAP
Overlap the transition into pToSeg. This flag is not currently implemented.
DMUS_COMPOSEF_IMMEDIATE
AutoTransition only. Start transition on a music or a reference-time boundary.
DMUS_COMPOSEF_GRID
AutoTransition only. Start transition on a grid boundary.
DMUS_COMPOSEF_BEAT
AutoTransition only. Start transition on a beat boundary.
DMUS_COMPOSEF_MEASURE
AutoTransition only. Start transition on a measure boundary.
DMUS_COMPOSEF_AFTERPREPARETIME
AutoTransition only. Use the DMUS_SEGF_AFTERPREPARETIME flag when cuing the transition.
DMUS_COMPOSEF_MODULATE
Compose a transition that modulates smoothly from pFromSeg to pToSeg, using the chord of pToSeg.
DMUS_COMPOSEF_LONG
Composes a long transition. If this flag is not set, the length of the transition is at most one measure unless the wCommand parameter of ComposeTransition or AutoTransition specifies an ending and the style contains an ending of greater than one measure. If this flag is set, the length of the transition increases by one measure.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusici.h.

See Also

DMUS_SEGF_FLAGS