418 |
triggered on a MIDI keyboard. The following example demonstrates how that |
triggered on a MIDI keyboard. The following example demonstrates how that |
419 |
could be achieved. |
could be achieved. |
420 |
</p> |
</p> |
|
<note> |
|
|
You need at least LinuxSampler 2.0.0.svn2 or higher for the following |
|
|
example to work as described and as expected. Refer to the notes of the |
|
|
<code>wait()</code> function reference documentation for more |
|
|
informations about this issue. |
|
|
</note> |
|
421 |
<code> |
<code> |
422 |
on init |
on init |
423 |
{ The amount of notes to play } |
{ The amount of notes to play } |
1098 |
</p> |
</p> |
1099 |
<note> |
<note> |
1100 |
Such <code>synchronized</code> blocks are a language extension which |
Such <code>synchronized</code> blocks are a language extension which |
1101 |
is only available with NKSP and requires at least LinuxSampler 2.0.0.svn60 |
is only available with NKSP. KSP does not support <code>synchronized</code> blocks. |
|
or higher. KSP does not support <code>synchronized</code> blocks. |
|
1102 |
</note> |
</note> |
1103 |
<p> |
<p> |
1104 |
So to make our previous example concurrency safe, we would |
So to make our previous example concurrency safe, we would |
1560 |
Which provides you an overview and quick access to the details of all |
Which provides you an overview and quick access to the details of all |
1561 |
built-in functions, built-in variables and more. |
built-in functions, built-in variables and more. |
1562 |
</p> |
</p> |
1563 |
|
<p> |
1564 |
|
You might also be interested to look at new <i>NKSP</i> core language |
1565 |
|
features being added to the latest development version of the sampler: |
1566 |
|
<a href="real_unit_final/01_nksp_real_unit_final.html"> |
1567 |
|
Real Numbers, Units and Finalness ... |
1568 |
|
</a> |
1569 |
|
</p> |
1570 |
|
|
1571 |
</body> |
</body> |
1572 |
</html> |
</html> |