This function can be used to fade out the volume of all voices of the given note within the requsted amount of time. The volume will be faded from the note's current volume to total silence. If desired, the respective voices will automatically be stopped as soon as they were completely faded out.
fade_out(note, duration-us, [stop])
|Argument Name||Data Type||Description|
||Note ID Number or Note ID Array||All voices of this note will be faded out.
||Integer Number||Fade-out time in microseconds.
||Integer Number||Whether the voice(s) shall be stopped after fade-out completed.
Since LinuxSampler 2.0.0.svn45.
stop is only
optional with NKSP. If you want to keep compatibility with KSP, then you
should always pass a value for that third argument of this function.