DMUS_RHYTHM_PARAM

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

DMUS_RHYTHM_PARAM

The DMUS_RHYTHM_PARAM structure is used as the pParam parameter in calls to the various get-parameter methods when the track is a chord track and rguidType is GUID_RhythmParam.

Syntax

typedef struct {
  DMUS_TIMESIGNATURE  TimeSig;
  DWORD  dwRhythmPattern;
} DMUS_RHYTHM_PARAM;

Members

TimeSig

DMUS_TIMESIGNATURE structure containing the time signature of the rhythm parameter. This structure must be initialized before the DMUS_RHYTHM_PARAM structure is passed to the get method.

dwRhythmPattern

Rhythm pattern for a sequence of chords. Each bit represents a beat in one or more measures, with 1 signifying a chord on the beat and 0 signifying no chord.

Requirements

  Header: Declared in dmusicf.h.

See Also


© 2004 Microsoft Corporation. All rights reserved.