Platform SDK: DirectX

DMUS_IO_TIMESIGNATURE_ITEM

The DMUS_IO_TIMESIGNATURE_ITEM structure contains information about a time signature change. It is used in the Time Signature Track Chunk.

typedef struct _DMUS_IO_TIMESIGNATURE_ITEM {
    MUSIC_TIME  mtTime;
    BYTE        bBeatsPerMeasure;
    BYTE        bBeat;
    WORD        wGridsPerBeat;
} DMUS_IO_TIMESIGNATURE_ITEM;
mtTime
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

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusicf.h.

See Also

DMUS_IO_TIMESIG, DMUS_TIMESIG_PMSG