--- doc/docbase/instrument_scripts/nksp/reference/functions/nksp_play_note_function.html 2017/05/29 22:19:19 3251 +++ doc/docbase/instrument_scripts/nksp/reference/functions/nksp_play_note_function.html 2017/05/29 22:42:46 3252 @@ -44,7 +44,10 @@ ??offset-us?? Integer Number Start offset of the sample to be played in microseconds.
- [optional, default: 0] + -1: Do not override the start offset and use the + regular start offset as defined by the + instrument file.
+ [optional, default: -1] ??duration-us?? @@ -60,14 +63,13 @@ You need at least LinuxSampler 2.0.0.svn2 or higher for passing a value - higher than 0 for ??duration-us??, and you need - at least LinuxSampler 2.0.0.svn3 or higher for passing -1 for - ??duration-us??. - - - - Passing any other value than 0 for ??offset-us?? - is not supported by LinuxSampler yet. + higher than 0 for ??duration-us??.
+
+ You need at least LinuxSampler 2.0.0.svn3 or higher for passing -1 for + ??duration-us??.
+
+ You need at least LinuxSampler 2.0.0.svn55 or higher for passing any other value than 0 for + ??offset-us??.

Return Value

@@ -121,5 +123,20 @@ end on +

See also

+

note_off(), set_controller()

+ +

Availability

+

Since LinuxSampler 2.0.0

+ + + The special value -1 for ??offset-us?? only exists + with NKSP, it is not available with KSP.
+
+ Dynamic, optional arguments are + only supported by NKSP. If you want to retain compatibility to KSP, + then you should always pass a value for all arguments of this function. +
+