API Reference / BpmProgress
Type Alias: BpmProgress
ts
type BpmProgress = {
peaks: number;
requiredPeaks: number;
};Defined in: core/types.ts:109
Progress toward the first BPM result of the realtime analyzer
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
peaks | readonly | number | Peaks found at the best-filled threshold, capped at requiredPeaks, so peaks / requiredPeaks is a fraction from 0 to 1 | core/types.ts:114 |
requiredPeaks | readonly | number | Peaks one threshold needs before the analyzer can report a tempo | core/types.ts:116 |