script Opcode

This is an extension to the SFZ file format which is currently only available with LinuxSampler. It allows to load real-time instrument scripts for SFZ instruments. Find out more about Instrument Scripts ...

Opcode Prototype

script=??path??

Attribute

The mandatory ??path?? value defines the relative path to the real-time instrument script file that shall be loaded and executed.

Allowed Sections

May only be used in <global> section.

Examples

Loads the WAV file "some_sound.wav" and assigns it to the entire key range of the instrument, and loads the real-time instrument script file "my_nksp_script.txt" from the subdirectory "myscripts". The script will be executed on the respective events the script file provides event handlers for.

<global> script=myscripts/my_nksp_script.txt <group> sample=some_sound.wav

Availabilty

Since LinuxSampler 2.0.0.svn37

Extension, not available with any SFZ standard.