Microsoft DirectX 9.0

DMUS_SHAPET_TYPES

The DMUS_SHAPET_TYPES enumerated type is used in the wShape parameter of the IDirectMusicComposer8::ComposeSegmentFromShape and IDirectMusicComposer8::ComposeTemplateFromShape methods to specify the desired pattern of the groove level.

Syntax

typedef enum enumDMUS_SHAPET_TYPES {
  DMUS_SHAPET_FALLING  = 0,
  DMUS_SHAPET_LEVEL    = 1,
  DMUS_SHAPET_LOOPABLE = 2,
  DMUS_SHAPET_LOUD     = 3,
  DMUS_SHAPET_QUIET    = 4,
  DMUS_SHAPET_PEAKING  = 5,
  DMUS_SHAPET_RANDOM   = 6,
  DMUS_SHAPET_RISING   = 7,
  DMUS_SHAPET_SONG     = 8
} DMUS_SHAPET_TYPES;

Constants

DMUS_SHAPET_FALLING

Groove level falls.

DMUS_SHAPET_LEVEL

Groove level remains even.

DMUS_SHAPET_LOOPABLE

Segment is arranged to loop back to the beginning.

DMUS_SHAPET_LOUD

Groove level is high.

DMUS_SHAPET_QUIET

Groove level is low.

DMUS_SHAPET_PEAKING

Groove level rises to a peak, and then falls.

DMUS_SHAPET_RANDOM

Groove level is random.

DMUS_SHAPET_RISING

Groove level rises.

DMUS_SHAPET_SONG

Segment is in a song form. Several phrases of 6 to 8 bars are composed and put together to give a verse-chorus effect, with variations in groove level.

Requirements

  Header: Declared in dmusici.h.

See Also