Skip to content

STRATEGIES

const STRATEGIES: string[]

Defined in: packages/pleco-xa/src/loop/detect.js:31

Pleco-Xa loop namespace — the flagship loop-detection surface (Wave 3).

Public API: detect(buffer, { strategy }) — the ONE entry point (see ./detect.js) STRATEGIES — available strategy names

Strategy implementations (importable for advanced use): fastLoopAnalysis, findPreciseLoop, musicalLoopAnalysis, recurrenceLoop

Primitives: DynamicZeroCrossing, LoopController, snapToZeroCrossings, calculateBeatAlignment

Scoring helpers (unified 0..1 confidence convention): clamp01, normalizedCrossCorrelation, measureLoopConfidence