sample Opcode

This is the most fundamental opcode of the SFZ file format. It allows you to load and assign a certain audio instrument file.

Opcode Prototype

sample=??path??

Parameter

The mandatory ??path?? parameter defines the file system path of the sample file that shall be loaded and assigned, which may either be an absolute path or a relative path. A relative path is always interpreted relative to the sfz file's location.

Allowed Sections

May be used in sections <global>, <region>, ... TODO.

Examples

Loads the WAV file "organ_c3.wav" from the subdirectory "mysamples" and assigns it to the entire key range of the instrument.

<global> sample=mysamples/organ_c3.wav

Availabilty

Since LinuxSampler 2.0.0

Conforms to SFZ v1 Standard.