次の方法で共有


DMUS_IO_STYLECURVE

The DMUS_IO_STYLECURVE structure contains information about a curve in a style . Used in the Style Form.

Syntax

typedef struct _DMUS_IO_STYLECURVE {
  MUSIC_TIME  mtGridStart;
  DWORD   dwVariation;
  MUSIC_TIME  mtDuration;
  MUSIC_TIME  mtResetDuration;
  short   nTimeOffset;
  short   nStartValue;
  short   nEndValue;
  short   nResetValue; 
  BYTE    bEventType;
  BYTE    bCurveShape;
  BYTE    bCCData;
  BYTE    bFlags;
  WORD    wParamType;
  WORD    wMergeIndex;
} DMUS_IO_STYLECURVE;

Members

mtGridStart

Offset, in grids, at which the curve occurs.

dwVariation

Variations that this curve belongs to. Each bit corresponds to one of 32 variations.

mtDuration

Duration of the curve.

mtResetDuration

Time after the curve is finished during which a reset can occur.

nTimeOffset

Offset from mtGridStart at which the curve occurs. See the Remarks for DMUS_IO_STYLE_ANTICIPATION.

nStartValue

Start value.

nEndValue

End value.

nResetValue

Reset value, set upon a flush or invalidation during the time specified by mtResetDuration.

bEventType

Type of curve. See DMUS_IO_CURVE_ITEM.

bCurveShape

Shape of curve. See DMUS_IO_CURVE_ITEM.

bCCData

CC number if this is a control change type.

bFlags

Set to DMUS_CURVE_RESET if the nResetValue must be set when an invalidation occurs because of a transition. If 0, the curve stays permanently at the new value. All other bits are reserved.

wParamType

RPN or NRPN parameter number.

wMergeIndex

Merge index. Supported for mod wheel, reverb send, chorus send, pitch bend, volume, and expression controllers.

Requirements

**  Header:** Dmusicf.h

See Also

© 2004 Microsoft Corporation. All rights reserved.