414 |
triggered on a MIDI keyboard. The following example demonstrates how that |
triggered on a MIDI keyboard. The following example demonstrates how that |
415 |
could be achieved. |
could be achieved. |
416 |
</p> |
</p> |
417 |
<note class="important"> |
<note> |
418 |
The following example does not fully work with LinuxSampler yet. That's |
You need at least LinuxSampler 2.0.0.svn2 or higher for the following |
419 |
because the used <code>wait()</code> function is not fully implemented |
example to work as described and as expected. Refer to the notes of the |
420 |
yet. Currently a <code>wait()</code> function call suspends execution, |
<code>wait()</code> function reference documentation for more |
421 |
but since the respective scheduler code is yet missing, the script |
informations about this issue. |
|
will automatically be resumed with the next audio fragment cycle. So |
|
|
effectively a <code>wait()</code> call will pause your script for a few |
|
|
miliseconds with LinuxSampler right now, no matter which function argument |
|
|
you provided. Hopefully this will be implemented soon though. |
|
422 |
</note> |
</note> |
423 |
<code> |
<code> |
424 |
on init |
on init |