Determines whether a loop is specified for a PTSample object.
Arguments
- sample
A
PTSampleobject for which the loop state needs to be determined.
Value
Returns a logical value indicating whether a loop is (TRUE)
or isn't (FALSE) specified for the sample.
Details
The loop state is not explicitly stored in a PTSample object.
It can be derived from the loopStart position and
loopLength. This method is provided as a convenient method
to get the state. Use either loopStart or loopLength
to change the state.
See also
Other loop.methods:
loopLength(),
loopSample(),
loopStart()
Other sample.operations:
PTSample-class,
PTSample-method,
fineTune(),
loopLength(),
loopSample(),
loopStart(),
name,
playSample(),
read.sample(),
sampleLength(),
volume(),
waveform(),
write.sample()