DMUS_IO_TIMESIG

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

DMUS_IO_TIMESIG

The DMUS_IO_TIMESIG structure contains information about the time signature of a segment. Used in the DMUS_IO_STYLE, DMUS_IO_VERSION, and DMUS_IO_PATTERN structures.

Syntax

typedef struct _DMUS_IO_TIMESIG {
  BYTE  bBeatsPerMeasure;
  BYTE  bBeat;
  WORD  wGridsPerBeat;
} DMUS_IO_TIMESIG;

Members

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


© 2004 Microsoft Corporation. All rights reserved.