The loop end point, in samples.
This is inclusive - the sample specified is played as part of the loop.
loop_end is not specified and the sample has a loop defined, the SFZ player
will use the end point of the first loop defined in the file. That means for
files with one loop,
loop_end does not usually need to be set, as it’s generally
more practical to define loop points in an audio editor where they can be checked
for smoothness, crossfaded if necessary etc.
loop_end is specified, it will be used instead the loop end point defined in
the sample. For files which have multiple loops defined, this is the only way to
get anything other than the first defined loop to play.
This opcode will not have any effect if loop_mode is set to no_loop.
Loop endpoints can be modulated using
loop_lengthccN in rgc sfz, and
loop_length_onccN in Cakewalk products - though the term “length” is used, it’s
specifically the location of the end point which is modulated.
|loop_end||SFZ v1||integer||0||0 to 4294967296||sample units|
- Envelope: X
- LFO: X
- MIDI CC:
- loop_lengthccN (Cakewalk), alias loop_length_onccN (Cakewalk)
Category: Sound Source, Sample Playback