Skip to content

findDownbeatPhase

findDownbeatPhase(audioData, beats, tempo, sampleRate): object

Defined in: packages/pleco-xa/src/scripts/xa-downbeat.js:18

Find the true downbeat phase by analyzing onset patterns Much simpler and more reliable than complex spectral analysis

any

any

any

any

object

downbeats: any[] = correctedBeats

phase: number = bestPhase

phaseScores: number[]