Microsoft DirectX 8.1 (C++)

DMUS_IO_COMMAND

The DMUS_IO_COMMAND structure contains information about a command event. Used in the Command Track Chunk.

Syntax

typedef struct _DMUS_IO_COMMAND {
  MUSIC_TIME  mtTime; 
  WORD    wMeasure;
  BYTE    bBeat; 
  BYTE    bCommand;
  BYTE    bGrooveLevel;
  BYTE    bGrooveRange;
  BYTE    bRepeatMode;
} DMUS_IO_COMMAND;

Members

mtTime

Time of the command.

wMeasure

Measure that the command falls on.

bBeat

Beat that the command falls on.

bCommand

Command type. See DMUS_COMMANDT_TYPES.

bGrooveLevel

Groove level, or 0 if the command is not a groove command.

bGrooveRange

Size of the range within which the groove level can be randomized. If this value is an odd number, the groove range is bGrooveRange – 1. For instance, if the groove level is 35 and bGrooveRange is 5, the adjusted groove range is 4 and the groove level could be anywhere from 33 to 37.

bRepeatMode

Flag that specifies how patterns are selected for repetition. See DMUS_PATTERNT_TYPES.

Requirements

  Header: Declared in dmusicf.h.