37 |
</tr> |
</tr> |
38 |
<tr> |
<tr> |
39 |
<td><code>fork()</code></td> |
<td><code>fork()</code></td> |
40 |
<td>Creates new execution instances.</td> |
<td>Creates new execution instances (threads).</td> |
41 |
|
</tr> |
42 |
|
<tr> |
43 |
|
<td><code>callback_status()</code></td> |
44 |
|
<td>Returns the current status of a callback (thread).</td> |
45 |
</tr> |
</tr> |
46 |
<tr> |
<tr> |
47 |
<td><code lang="nksp">dec()</code></td> |
<td><code lang="nksp">dec()</code></td> |
131 |
<td>Changes panning of voices (stereo balance).</td> |
<td>Changes panning of voices (stereo balance).</td> |
132 |
</tr> |
</tr> |
133 |
<tr> |
<tr> |
134 |
|
<td><code>change_pan_time()</code></td> |
135 |
|
<td>Changes the duration of panning (stereo balance) changes.</td> |
136 |
|
</tr> |
137 |
|
<tr> |
138 |
|
<td><code>change_pan_curve()</code></td> |
139 |
|
<td>Changes the curve type of panning (stereo balance) changes.</td> |
140 |
|
</tr> |
141 |
|
<tr> |
142 |
<td><code>change_play_pos()</code></td> |
<td><code>change_play_pos()</code></td> |
143 |
<td>Change the sample playback position.</td> |
<td>Change the sample playback position.</td> |
144 |
</tr> |
</tr> |
183 |
<td>Modifies the decay time of voices.</td> |
<td>Modifies the decay time of voices.</td> |
184 |
</tr> |
</tr> |
185 |
<tr> |
<tr> |
186 |
|
<td><code>change_sustain()</code></td> |
187 |
|
<td>Modifies the sustain level of voices.</td> |
188 |
|
</tr> |
189 |
|
<tr> |
190 |
<td><code>change_release()</code></td> |
<td><code>change_release()</code></td> |
191 |
<td>Modifies the release time of voices.</td> |
<td>Modifies the release time of voices.</td> |
192 |
</tr> |
</tr> |
295 |
<th>Variable</th> <th>Description</th> |
<th>Variable</th> <th>Description</th> |
296 |
</tr> |
</tr> |
297 |
<tr> |
<tr> |
298 |
|
<td><code>$CALLBACK_STATUS_QUEUE</code></td> |
299 |
|
<td>Built-in constant reflecting the status of a callback to be |
300 |
|
alive but suspended. See <code>callback_status()</code> for details.</td> |
301 |
|
</tr> |
302 |
|
<tr> |
303 |
|
<td><code>$CALLBACK_STATUS_RUNNING</code></td> |
304 |
|
<td>Built-in constant reflecting the status of a callback to be |
305 |
|
alive and currently executing. See <code>callback_status()</code> |
306 |
|
for details.</td> |
307 |
|
</tr> |
308 |
|
<tr> |
309 |
|
<td><code>$CALLBACK_STATUS_TERMINATED</code></td> |
310 |
|
<td>Built-in constant reflecting the status of a callback to be |
311 |
|
not alive. See <code>callback_status()</code> for details.</td> |
312 |
|
</tr> |
313 |
|
<tr> |
314 |
<td><code>$KSP_TIMER</code></td> |
<td><code>$KSP_TIMER</code></td> |
315 |
<td>Preserved for compatiblity reasons with KSP, returns the same value |
<td>Preserved for compatiblity reasons with KSP, returns the same value |
316 |
as <code>$NKSP_REAL_TIMER</code> (refer to the latter for details). |
as <code>$NKSP_REAL_TIMER</code> (refer to the latter for details). |
358 |
<td><code>%NKSP_CALLBACK_CHILD_ID[]</code></td> |
<td><code>%NKSP_CALLBACK_CHILD_ID[]</code></td> |
359 |
<td> |
<td> |
360 |
Reflects the callback IDs of all child threads which the current |
Reflects the callback IDs of all child threads which the current |
361 |
script callback instance spawned by calling function <code>fork()</code>. |
script callback instance spawned by having called <code>fork()</code> before. |
362 |
See the latter function for details about this array variable. |
See the latter function for details about this array variable. |
363 |
</td> |
</td> |
364 |
</tr> |
</tr> |
367 |
<td> |
<td> |
368 |
If the current execution thread is a child thread spawned by a <code>fork()</code> |
If the current execution thread is a child thread spawned by a <code>fork()</code> |
369 |
call before, then this variable reflects the callback ID of the parent |
call before, then this variable reflects the callback ID of the parent |
370 |
thread which created this child thread. Otherwise this variable is zero. |
thread which created this child thread. Otherwise this variable is <code>0</code>. |
371 |
See function <code>fork()</code> for more details about this variable. |
See <code>fork()</code> for more details about this variable. |
372 |
</td> |
</td> |
373 |
</tr> |
</tr> |
374 |
<tr> |
<tr> |
739 |
<td>Constant that identifies the <i>general purpose 8 MIDI controller dimension</i>.</td> |
<td>Constant that identifies the <i>general purpose 8 MIDI controller dimension</i>.</td> |
740 |
</tr> |
</tr> |
741 |
</table> |
</table> |
742 |
|
|
743 |
|
<h2>Built-In Preprocessor Conditions</h2> |
744 |
|
<p> |
745 |
|
These are the built-in preprocessor conditions available with the NKSP realt-time |
746 |
|
instrument script language. |
747 |
|
</p> |
748 |
|
|
749 |
|
<h3>Core Language Preprocessor Conditions</h3> |
750 |
|
<p> |
751 |
|
Most fundamental NKSP built-in preprocessor conditions, independent from |
752 |
|
any purpose of being used in a sampler. |
753 |
|
</p> |
754 |
|
<table> |
755 |
|
<tr> |
756 |
|
<th>Condition</th> <th>Description</th> |
757 |
|
</tr> |
758 |
|
<tr> |
759 |
|
<td><code>NKSP_NO_MESSAGE</code></td> |
760 |
|
<td> |
761 |
|
By default this condition is not set. By explicitly enabling this |
762 |
|
condition with <code>SET_CONDITION(NKSP_NO_MESSAGE)</code> it |
763 |
|
causes all subsequent <code>message()</code> calls to be ignored |
764 |
|
and filtered out on preprocessor level. See function <code>message()</code> |
765 |
|
for details. |
766 |
|
</td> |
767 |
|
</tr> |
768 |
|
</table> |
769 |
|
|
770 |
</body> |
</body> |
771 |
</html> |
</html> |