framesToBeat method
For internal use only. Converts sample frames to a beat.
Implementation
double framesToBeat(int frames) {
final us = Sequence.globalState.framesToUs(frames);
// (b / min) * us * (min / us)
return tempo * us * (1 / 60000000);
}