--- doc/docbase/instrument_scripts/nksp/01_nksp.html 2015/04/26 20:54:00 2732 +++ doc/docbase/instrument_scripts/nksp/01_nksp.html 2016/04/10 18:42:55 2872 @@ -414,15 +414,11 @@ triggered on a MIDI keyboard. The following example demonstrates how that could be achieved.
-wait()
function is not fully implemented
- yet. Currently a wait()
function call suspends execution,
- but since the respective scheduler code is yet missing, the script
- will automatically be resumed with the next audio fragment cycle. So
- effectively a wait()
call will pause your script for a few
- miliseconds with LinuxSampler right now, no matter which function argument
- you provided. Hopefully this will be implemented soon though.
+ wait()
function reference documentation for more
+ informations about this issue.
on init
@@ -604,6 +600,13 @@
like we did with $i := $delayNotes
right from the start
during discussion of the previous example script.
+
+ There is another special aspect regarding the variable scope of polyphonic
+ variables: note
handlers and release
handlers of
+ the same script share the same polyphonic variable scope, that means you
+ may pass data from a particular note's note
handler to its
+ release
handler by using the same polyphonic variable name.
+
Control Structures