Clamps Dictionary
lsample
Structure
Structure for a sample with two loop-points.
Note
Normally the user shouldn't be dealing with a lsample struct directly. It is used by the sfz and poolevent classes and documented here for completeness and insight.
A lsample contains the following slots, accessible using the functions lsample-<slot-name>:
name
– Filename of the sample source.
buffer
– Buffer of the sample data.
oneshot
– Boolean indicating whether not to loop the sample on playback.
keynum
– Double Float denoting original keynum of the recorded sample.
loopstart
– Double Float denoting the loop start for loop playback, defaulting to +sample-zero+.
loopend
– Double Float denoting the loop start for loop playback, defaulting to +sample-zero+.
amp
– Amplitude of recorded sample in dB, defaulting to +sample-zero+.
See also
Created: 2025-02-18 Di 12:58