--- doc/docbase/instrument_scripts/nksp/reference/01_nksp_reference.html 2016/07/14 00:44:04 2946 +++ doc/docbase/instrument_scripts/nksp/reference/01_nksp_reference.html 2016/07/16 11:44:04 2954 @@ -48,6 +48,10 @@ Pauses execution for a certain amount of time. + stop_wait() + Resumes execution of a suspended script callback. + + abs() Calculates the absolute value of a given value. @@ -95,6 +99,18 @@ Changes filter resonance of voices. + change_attack() + Modifies the attack time of voices. + + + change_decay() + Modifies the decay time of voices. + + + change_release() + Modifies the release time of voices. + + event_status() Checks and returns whether a particular note is still alive. @@ -232,6 +248,45 @@ + + $NI_CALLBACK_ID + Reflects the current event handler instance's unique callback ID. + For the same event type there may be more than + one event handler instances running. Each one of them has + its own callback ID. You can get the current event handler + instance's callback ID by reading this built-in variable. + + + $NI_CALLBACK_TYPE + Reflects the event type of the current event handler. This variable + may reflect one of the following built-in constants: + $NI_CB_TYPE_INIT, $NI_CB_TYPE_NOTE, + $NI_CB_TYPE_RELEASE, $NI_CB_TYPE_CONTROLLER. + + + $NI_CB_TYPE_INIT + Built-in constant reflecting an init event handler type. + + + $NI_CB_TYPE_NOTE + Built-in constant reflecting a note event handler type. + + + $NI_CB_TYPE_RELEASE + Built-in constant reflecting a release event handler type. + + + $NI_CB_TYPE_CONTROLLER + Built-in constant reflecting a controller event handler type. + + + $NKSP_IGNORE_WAIT + If this boolean built-in variable is 1 then all calls of your + event handler instance to function wait() will be ignored. + This may for example be the case if another event handler instance + resumed your paused script by calling stop_wait() and + passing 1 to the 2nd argument of that function. +

Common Sampler Variables