extractTempo
extractTempo(
beatTimes):object
Defined in: packages/pleco-xa/src/scripts/xa-beat.js:208
Extract tempo from beat times Useful for validation and multiple tempo detection
Parameters
Section titled “Parameters”beatTimes
Section titled “beatTimes”any
Returns
Section titled “Returns”object
bpm:
number
confidence
Section titled “confidence”confidence:
number
intervals
Section titled “intervals”intervals:
number[]
medianInterval
Section titled “medianInterval”medianInterval:
number