DMUS_TIMESIGNATURE

The DMUS_TIMESIGNATURE structure is used by the IDirectMusicStyle8::GetTimeSignature method to retrieve information about a style's time signature. It is also used in the DMUS_RHYTHM_PARAM structure and in the various get-parameter methods when the rguidType parameter is GUID_TimeSignature and the track is a time signature or style track.

Syntax

typedef struct _DMUS_TIMESIGNATURE {
  MUSIC_TIME mtTime;
  BYTE  bBeatsPerMeasure;
  BYTE  bBeat;
  WORD  wGridsPerBeat;
} DMUS_TIMESIGNATURE;

Members

mtTime

Music time at which this time signature occurs.

bBeatsPerMeasure

Top of time signature.

bBeat

Bottom of time signature.

wGridsPerBeat

Grids (subdivisions) per beat. This value determines the timing resolution for certain music events—for example, segments cued with the DMUS_SEGF_GRID flag (see DMUS_SEGF_FLAGS).

Requirements

**  Header:** Dmusici.h

See Also

© 2004 Microsoft Corporation. All rights reserved.