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.
Parameters
Section titled “Parameters”audioBuffer
Section titled “audioBuffer”any
AudioBuffer or shim with { getChannelData, sampleRate, duration }
Returns
Section titled “Returns”Promise<any>
{ loopStart, loopEnd, confidence, bpm, … }