TracksBoard.ItemVolumeFadingGet method |
|
Remarks
Obtains parameters of the requested volume fading applied to the given item. The volume fading can be added or modified through the TracksBoard.ItemVolumeFadingSet or TracksBoard.ItemVolumeFadingSetEx method.
A specific volume fading can be removed through the TracksBoard.ItemVolumeFadingRemove method.
For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.
For further details about methods of the TracksBoard refer to the TracksBoard class section.
Syntax
[Visual Basic] control.TracksBoard.ItemVolumeFadingGet ( nUniqueId as Long, bFadeIn as enumBoolean, ByRef nFadeLengthMs as Long, ByRef nCurveType as enumVolumeCurves, ByRef nLeftX as Integer, ByRef nLeftY as Integer, ByRef nRightX as Integer, ByRef nRightY as Integer ) as enumErrorCodes |
[C++] short control.TracksBoard.ItemVolumeFadingGet ( long nUniqueId, short bFadeIn, long *nFadeLengthMs, short *nCurveType, short *nLeftX, short *nLeftY, short *nRightX, short *nRightY ); |
Parameter |
Description |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
nUniqueId |
Unique identification number assigned to the sound item after being generated by one of the following methods:
|
||||||||||||||||||||||||
bFadeIn |
Boolean value specifying if the fading is a fade-in or a fade-out. Supported values are the following:
|
||||||||||||||||||||||||
nFadeLengthMs |
Reference that, on return from the method call, will contain the length of the fade expressed in milliseconds |
||||||||||||||||||||||||
nCurveType |
Reference that, on return from the method call, will contain the type of curve applied to perform the volume fading.. Supported values are the following:
|
||||||||||||||||||||||||
nLeftX |
Reference that, on return from the method call, will contain the horizontal position, expressed in percentage, of the left control point of the Bézier curve. This parameter is ignored when the nCurveType parameter is set to a value different from VOLUME_CURVE_CUSTOM. |
||||||||||||||||||||||||
nLeftY |
Reference that, on return from the method call, will contain the vertical position, expressed in percentage, of the left control point of the Bézier curve. This parameter is ignored when the nCurveType parameter is set to a value different from VOLUME_CURVE_CUSTOM. |
||||||||||||||||||||||||
nRightX |
Reference that, on return from the method call, will contain the horizontal position, expressed in percentage, of the right control point of the Bézier curve. This parameter is ignored when the nCurveType parameter is set to a value different from VOLUME_CURVE_CUSTOM. |
||||||||||||||||||||||||
nRightY |
Reference that, on return from the method call, will contain the vertical position, expressed in percentage, of the right control point of the Bézier curve. This parameter is ignored when the nCurveType parameter is set to a value different from VOLUME_CURVE_CUSTOM. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |