API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceBeatInfo

@codexo/exojs-audio-fx / audio / stable

8
props
0
methods
0
events
Import
import { BeatInfo } from '@codexo/exojs-audio-fx'
Properties8
audioTime: number
audioContext.currentTime when the beat occurred.
beatInBar: number
Beat position within the bar (1..N).
beatPhase: number
Phase within beat (0 = start).
confidence: number
Confidence 0..1.
energy: number
Novelty/onset strength at the beat.
isDownbeat: boolean
Is 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: number
BPM at this beat.
Source