Freigeben über


DMUS_IO_PATTERN

The DMUS_IO_PATTERN structure contains information about a pattern. Used in the Style Form.

Syntax

typedef struct _DMUS_IO_PATTERN {
  DMUS_IO_TIMESIG  timeSig;
  BYTE     bGrooveBottom;
  BYTE     bGrooveTop;
  WORD     wEmbellishment;
  WORD     wNbrMeasures;
  BYTE     bDestGrooveBottom;
  BYTE     bDestGrooveTop;
  DWORD    dwFlags;
} DMUS_IO_PATTERN;

Members

timeSig

DMUS_IO_TIMESIG structure containing a time signature to override the style's default time signature.

bGrooveBottom

Bottom of the groove range.

bGrooveTop

Top of the groove range.

wEmbellishment

Type of embellishment. One or more of the constants from the DMUS_EMBELLISHT_TYPES enumeration, or a value defined by the content provider, such as a custom embellishment number assigned in DirectMusic Producer.

wNbrMeasures

Length of the pattern in measures.

bDestGrooveBottom

Bottom of groove range for next pattern.

bDestGrooveTop

Top of groove range for next pattern.

dwFlags

Flags. Can be zero or the value shown in the following table.

Value Description
DMUS_PATTERNF_PERSIST_CONTROL Variation settings in the state data of a pattern-based track persist in the track after it stops playing.

Requirements

**  Header:** Dmusicf.h

See Also

© 2004 Microsoft Corporation. All rights reserved.