Platform SDK: DirectX

DMUS_IO_STYLENOTE

The DMUS_IO_STYLENOTE structure contains information about a note in a style. It is used in the Style Form.

typedef struct _DMUS_IO_STYLENOTE {
    MUSIC_TIME  mtGridStart;
    DWORD       dwVariation;
    MUSIC_TIME  mtDuration; 
    short       nTimeOffset;
    WORD        wMusicValue; 
    BYTE        bVelocity;
    BYTE        bTimeRange;
    BYTE        bDurRange;
    BYTE        bVelRange; 
    BYTE        bInversionID;
    BYTE        bPlayModeFlags; 
} DMUS_IO_STYLENOTE;
mtGridStart
When the note occurs.
dwVariation
Variations that this note belongs to. Each bit corresponds to one of 32 variations.
mtDuration
Duration of the note.
nTimeOffset
Offset from mtGridStart.
wMusicValue
Position in the scale.
bVelocity
Note velocity.
bTimeRange
Range within which to randomize start time.
bDurRange
Range within which to randomize duration.
bVelRange;
Range within which to randomize velocity.
bInversionID
Identifier of inversion group to which this note belongs.
bPlayModeFlags
Flags to override the play mode of the part. For a list of values, see DMUS_PLAYMODE_FLAGS.

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.