Skip to content


The loop end point, in samples.

If 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.

If 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.


Name Version Type Default Range
loop_end SFZ v1 integer 0 0 to 4294967296