Skip to content

fastLoopAnalysis

fastLoopAnalysis(audioBuffer): Promise<any>

Defined in: packages/pleco-xa/src/loop/fast.js:37

Fast loop analysis — the default strategy of loop.detect(). Pipeline: beat tracking → onset detection → precise onset-pair search, falling back (within this strategy, by design) to bar-aligned search and finally to a documented half-buffer heuristic whose confidence is measured, not fabricated.

any

AudioBuffer or shim with { getChannelData, sampleRate, duration }

Promise<any>

{ loopStart, loopEnd, confidence, bpm, … }