Platform SDK: DirectX

DMUS_CURVE_PMSG

The DMUS_CURVE_PMSG type contains information about a MIDI curve message.

Type DMUS_CURVE_PMSG
    beat As Byte
    ccData As Byte
    curveShape As Byte
    endValue As Integer
    flags As Byte
    grid As Byte
    measure As Integer
    mtDuration As Long
    mtOriginalStart As Long
    mtResetDuration As Long
    offset As Integer
    resetValue As Integer
    startValue As Integer
    type As Byte
End Type

Members

beat
Beat count (within a measure) at which this curve occurs.
ccData
CC number if this is a control change type.
curveShape
Shape of the curve. This can be one of the values from the CONST_DMUS_CURVES enumeration.
endValue
End value of the curve.
flags
Set to DMUS_CURVE_RESET if the resetValue must be set when the time is reached or an invalidation occurs because of a transition. If 0, the curve stays permanently at the new value.
grid
Grid offset from a beat at which this curve occurs.
measure
Measure in which this curve occurs.
mtDuration
How long the curve lasts.
mtOriginalStart
Original start time, in music time. Must be set to either 0 when this message is created, or to the original time of the curve.
mtResetDuration
How long after the curve is finished until the reset value is set, in music time.
offset
Offset from a grid at which this curve occurs, in music time.
resetValue
Reset value of the curve, set after mtResetDuration or upon a flush or invalidation.
startValue
Start value of the curve.
type
Type of curve. This can be one of the values from the CONST_DMUS_CURVET enumeration.

See Also

DirectMusicPerformance.SendCurvePMSG