Function to fade the volume of a specific note. The fade is performed from the start to the target value with the specified duration in milliseconds and affects all voices that are triggered by the note. You can start a fade from the current value of a running fade by setting the start value to
nil. You can kill the triggered voices if the target value is reached by setting
true. The fade is applied in addition to any changes from changeVolume, changeVolumedB and changeNoteExpression.
If you start a fade from the current value of a running fade that has not reached its target value yet, the duration of this fade will be shorter. See the second example below for details.
Available in: Processor.
|noteID||The ID of the note you want to fade.||number|
|startValue||The start value of the fade in the range of 0 to 1.0. Set this to ||number or |
|targetValue||The target value of the fade in the range of 0 to 1.0.||number|
|duration||The length of the fade in milliseconds. The target value is set instantaneously if this is set to <= 0.||number|
|killVoice||Set this to ||boolean|