Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

change_tune_curve()

This function can be used to override the shape of the internal curve type used for tuning changes upon calls to change_tune(). That fade curve type is not set globally, but rather on a per-note level. By default, that is if you did not call this function, then $NKSP_EASE_IN_EASE_OUT will be used as curve type.

Function Prototype

change_tune_curve(note, curve-type)

Arguments

Argument Name Data Type Description
note Note ID Number or Note ID Array All voices of this note will be modified.
[required]
curve-type Integer Number The curve type to be set, which must be one of the following values:
$NKSP_LINEAR: Fade with constant speed throughout entire fade duration.
$NKSP_EASE_IN_EASE_OUT: Accelerate fade speed at the beginning of the fade, slow down towards the end of the fade.
[required]

Return Value

None.

Examples

None yet.

See also

change_tune(), change_tune_time()

Availability

Since LinuxSampler 2.0.0.svn54.

This function exists only with NKSP, it is not available with KSP.

Document Updated:  2017-05-29  |  Author:  Christian Schoenebeck