Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

change_pan_curve()

This function can be used to override the shape of the internal curve type used for panning (stereo balance) changes upon calls to change_pan(). 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_pan_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 stereo panorama with constant speed throughout entire fade duration.
$NKSP_EASE_IN_EASE_OUT: Accelerate stereo panorama 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_pan(), change_pan_time()

Availability

Since LinuxSampler 2.0.0.svn75.

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

Document Updated:  2017-07-30  |  Author:  Christian Schoenebeck