/[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 2954 by schoenebeck, Sat Jul 16 11:44:04 2016 UTC revision 3075 by schoenebeck, Thu Jan 5 16:36:16 2017 UTC
# Line 60  Line 60 
60          <td>Random number generator.</td>          <td>Random number generator.</td>
61        </tr>        </tr>
62        <tr>        <tr>
63            <td><code>min()</code></td>
64            <td>Calculates the minimum value of two given values.</td>
65          </tr>
66          <tr>
67            <td><code>max()</code></td>
68            <td>Calculates the maximum value of two given values.</td>
69          </tr>
70          <tr>
71          <td><code>num_elements()</code></td>          <td><code>num_elements()</code></td>
72          <td>Returns the size of the requested array variable.</td>          <td>Returns the size of the requested array variable.</td>
73        </tr>        </tr>
74          <tr>
75            <td><code>sh_left()</code></td>
76            <td>Calculates a left bit shifted value.</td>
77          </tr>
78          <tr>
79            <td><code>sh_right()</code></td>
80            <td>Calculates a right bit shifted value.</td>
81          </tr>
82      </table>      </table>
83            
84      <h3>Common Sampler Functions</h3>      <h3>Common Sampler Functions</h3>
# Line 299  Line 315 
315          <th>Variable</th> <th>Description</th>          <th>Variable</th> <th>Description</th>
316        </tr>        </tr>
317        <tr>        <tr>
318            <td><code>%ALL_EVENTS</code></td>
319            <td>
320              Note IDs of all currently active notes of the current sampler part (a.k.a. sampler channel).
321              This may be passed to many built-in functions like <code>note_off()</code>.
322              <note>
323                In contrast to KSP this variable is an integer array type, whereas KSP's
324                pendent of this built-in variable is an integer constant (scalar) called
325                <code>$ALL_EVENTS</code>. Using the latter with NKSP will cause a
326                parser warning, the behavior will be the same though.
327              </note>
328            </td>
329          </tr>
330          <tr>
331          <td><code>$CC_NUM</code></td>          <td><code>$CC_NUM</code></td>
332          <td>MIDI controller number that caused the <code>controller</code>          <td>MIDI controller number that caused the <code>controller</code>
333              handler to be executed (only useful in the context of a              handler to be executed (only useful in the context of a

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

  ViewVC Help
Powered by ViewVC