/[svn]/doc/docbase/instrument_scripts/nksp/reference/01_nksp_reference.html
ViewVC logotype

Diff of /doc/docbase/instrument_scripts/nksp/reference/01_nksp_reference.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2946 by schoenebeck, Thu Jul 14 00:44:04 2016 UTC revision 2954 by schoenebeck, Sat Jul 16 11:44:04 2016 UTC
# Line 48  Line 48 
48          <td>Pauses execution for a certain amount of time.</td>          <td>Pauses execution for a certain amount of time.</td>
49        </tr>        </tr>
50        <tr>        <tr>
51            <td><code>stop_wait()</code></td>
52            <td>Resumes execution of a suspended script callback.</td>
53          </tr>
54          <tr>
55          <td><code>abs()</code></td>          <td><code>abs()</code></td>
56          <td>Calculates the absolute value of a given value.</td>          <td>Calculates the absolute value of a given value.</td>
57        </tr>        </tr>
# Line 95  Line 99 
99          <td>Changes filter resonance of voices.</td>          <td>Changes filter resonance of voices.</td>
100        </tr>        </tr>
101        <tr>        <tr>
102            <td><code>change_attack()</code></td>
103            <td>Modifies the attack time of voices.</td>
104          </tr>
105          <tr>
106            <td><code>change_decay()</code></td>
107            <td>Modifies the decay time of voices.</td>
108          </tr>
109          <tr>
110            <td><code>change_release()</code></td>
111            <td>Modifies the release time of voices.</td>
112          </tr>
113          <tr>
114          <td><code>event_status()</code></td>          <td><code>event_status()</code></td>
115          <td>Checks and returns whether a particular note is still alive.</td>          <td>Checks and returns whether a particular note is still alive.</td>
116        </tr>        </tr>
# Line 232  Line 248 
248              </note>              </note>
249          </td>          </td>
250        </tr>        </tr>
251          <tr>
252            <td><code>$NI_CALLBACK_ID</code></td>
253            <td>Reflects the current event handler instance's unique callback ID.
254                For the same event type there may be more than
255                one event handler instances running. Each one of them has
256                its own callback ID. You can get the current event handler
257                instance's callback ID by reading this built-in variable.</td>
258          </tr>
259          <tr>
260            <td><code>$NI_CALLBACK_TYPE</code></td>
261            <td>Reflects the event type of the current event handler. This variable
262                may reflect one of the following built-in constants:
263                <code>$NI_CB_TYPE_INIT</code>, <code>$NI_CB_TYPE_NOTE</code>,
264                <code>$NI_CB_TYPE_RELEASE</code>, <code>$NI_CB_TYPE_CONTROLLER</code>.</td>
265          </tr>
266          <tr>
267            <td><code>$NI_CB_TYPE_INIT</code></td>
268            <td>Built-in constant reflecting an <code>init</code> event handler type.</td>
269          </tr>
270          <tr>
271            <td><code>$NI_CB_TYPE_NOTE</code></td>
272            <td>Built-in constant reflecting a <code>note</code> event handler type.</td>
273          </tr>
274          <tr>
275            <td><code>$NI_CB_TYPE_RELEASE</code></td>
276            <td>Built-in constant reflecting a <code>release</code> event handler type.</td>
277          </tr>
278          <tr>
279            <td><code>$NI_CB_TYPE_CONTROLLER</code></td>
280            <td>Built-in constant reflecting a <code>controller</code> event handler type.</td>
281          </tr>
282          <tr>
283            <td><code>$NKSP_IGNORE_WAIT</code></td>
284            <td>If this boolean built-in variable is <code>1</code> then all calls of your
285                event handler instance to function <code>wait()</code> will be ignored.
286                This may for example be the case if another event handler instance
287                resumed your paused script by calling <code>stop_wait()</code> and
288                passing <code>1</code> to the 2nd argument of that function.</td>
289          </tr>
290      </table>      </table>
291    
292      <h3>Common Sampler Variables</h3>      <h3>Common Sampler Variables</h3>

Legend:
Removed from v.2946  
changed lines
  Added in v.2954

  ViewVC Help
Powered by ViewVC