API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceBeatInfo
@codexo/exojs-audio-fx / audio / stable
8
props
0
methods
0
events
Import
import { BeatInfo } from '@codexo/exojs-audio-fx'Properties8
audioTime: numberaudioContext.currentTime when the beat occurred.
beatInBar: numberBeat position within the bar (1..N).
beatPhase: numberPhase within beat (0 = start).
confidence: numberConfidence 0..1.
energy: numberNovelty/onset strength at the beat.
isDownbeat: booleanIs this beat the first in a bar?
status: "locked" | "provisional"Detection trust level: - 'provisional' - an early, low-latency beat emitted before the tempo grid is fully settled. Good for visual reactivity (a "blink"); may be revised. - 'locked' - the tempo grid is settled and trustworthy. Safe for sync-critical use. Each stable segment yields exactly one provisional→locked transition.
tempo: numberBPM at this beat.
Source