getLoopLengthFrames method
For internal use only. Returns the length of the loop in frames.
Implementation
int getLoopLengthFrames() {
final loopStartFrame = beatToFrames(loopStartBeat);
final loopEndFrame = beatToFrames(loopEndBeat);
return loopEndFrame - loopStartFrame;
}