Loop BPM From Sample Frames and Beat Count
Recover a trimmed loop’s BPM using its exact frame count, sample rate, and the number of quarter-note beats in the sample.
Formula & assumptions
BPM = quarter-note beats in loop × 60 × sample rate ÷ loop frames.
Use the exact trimmed loop and count quarter-note beats across it. One frame contains all channels at a sample instant.
Worked example
- Loop length in frames
- 96000
- Sample rate (Hz)
- 48000
- Quarter-note beats in loop
- 4
- Loop tempo
- 120 BPM
Interpreting the result
A 96,000-frame loop at 48 kHz lasts two seconds, so a four-beat phrase in that loop runs at 120 BPM.