fade_in()
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)
Arguments
Argument Name | Data Type | Description |
---|---|---|
note |
Note ID Number or Note ID Array | All voices of this note will be faded in. [required] |
duration-us |
Integer Number or Real Number |
Fade-in time in microseconds. [required] |
Return Value
None.
Remarks
This functions optionally accepts s
as standard unit
for its argument duration-us
.
Examples
None yet.
See also
fade_out()
, change_vol()
Availability
Since LinuxSampler 2.0.0.svn45.