Microsoft DirectX 8.0 (C++)

DMUS_TIMESIGNATURE

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.

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: Declared in dmusici.h.

See Also

IDirectMusicPerformance8::GetParam, IDirectMusicPerformance8::SetParam, IDirectMusicSegment8::GetParam, IDirectMusicSegment8::SetParam, IDirectMusicTrack8::GetParamEx, IDirectMusicTrack8::SetParamEx, DMUS_TIMESIG_PMSG