Microsoft DirectX 8.1 (Visual Basic)

CONST_DMUS_SHAPET_TYPES

The members of the CONST_DMUS_SHAPET_TYPES enumeration are used in the wShape parameter of the DirectMusicComposer8.ComposeSegmentFromShape and DirectMusicComposer8.ComposeTemplateFromShape methods to specify the desired pattern of the groove level.

Syntax

Enum CONST_DMUS_SHAPET_TYPES
  DMUS_SHAPET_FALLING  = 0
  DMUS_SHAPET_LEVEL    = 1
  DMUS_SHAPET_LOOPABLE = 2
  DMUS_SHAPET_LOUD     = 3
  DMUS_SHAPET_PEAKING  = 5
  DMUS_SHAPET_QUIET    = 4
  DMUS_SHAPET_RANDOM   = 6
  DMUS_SHAPET_RISING   = 7
  DMUS_SHAPET_SONG     = 8
End Enum

Constants

DMUS_SHAPET_FALLING

The groove level falls.

DMUS_SHAPET_LEVEL

The groove level remains even.

DMUS_SHAPET_LOOPABLE

The segment is arranged to loop back to the beginning.

DMUS_SHAPET_LOUD

The groove level is high.

DMUS_SHAPET_PEAKING

The groove level rises to a peak, and then falls.

DMUS_SHAPET_QUIET

The groove level is low.

DMUS_SHAPET_RANDOM

The groove level is random.

DMUS_SHAPET_RISING

The groove level rises.

DMUS_SHAPET_SONG

The 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.