Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference


This function can be used to fade in the volume of all voices of the given note within the requsted amount of time. If this function is called right when the note was spawned, then this function automatically fades the volume of the note's voices from total silence to its final neutral, maximum volume (0dB). If this function is rather called somewhere in between the regular life time of the note, then this function fades the note's volume from its current volume to its final neutral, maximum volume (0dB) instead.

Function Prototype

fade_in(note, duration-us)


Argument Name Data Type Description
note Note ID Number or Note ID Array All voices of this note will be faded in.
duration-us Integer Number or
Real Number
Fade-in time in microseconds.

Return Value



This functions optionally accepts s as standard unit for its argument duration-us.


None yet.

See also

fade_out(), change_vol()


Since LinuxSampler 2.0.0.svn45.

Document Updated:  2019-09-18  |  Author:  Christian Schoenebeck