detectBeats
detectBeats(
options):Promise<BeatDetectionResult>
Defined in: analysis.ts:83
Detect beats from an interleaved PCM source using a bounded energy-envelope
onset detector. The signal is processed in fixed windows, computing a local
RMS envelope; an onset is flagged where the envelope rises above the local
noise floor by minimumOnsetDb. Bounded memory: only the current window and
a rolling floor are retained.
Parameters
Section titled “Parameters”options
Section titled “options”AnalysisSource & object
Returns
Section titled “Returns”Promise<BeatDetectionResult>