Microsoft DirectX 8.0 (C++)

DMUS_IO_TIMESIGNATURE_ITEM

Contains information about a time signature change. Used in the Time Signature Track List.

typedef struct _DMUS_IO_TIMESIGNATURE_ITEM {
    MUSIC_TIME  lTime;
    BYTE        bBeatsPerMeasure;
    BYTE        bBeat;
    WORD        wGridsPerBeat;
} DMUS_IO_TIMESIGNATURE_ITEM;

Members

lTime
Time of the event.
bBeatsPerMeasure
Beats per measure (top of time signature).
bBeat
Note that receives the beat (bottom of the time signature), where 1 is a whole note, 2 is a half note, 4 is a quarter note, and so on. Zero is a 256th note.
wGridsPerBeat
Grids (subdivisions) per beat.

Requirements

  Header: Declared in dmusicf.h.

See Also

DMUS_IO_TIMESIG, DMUS_TIMESIG_PMSG