BEAT x GLITCH

AUDIO-REACTIVE

beat drives the audio engine. glitch corrupts the visuals. same data, two agents, one substance.

BASSMIDHIGH
GLITCH VISUAL LAYER
audio engine idle
VOL60
MODE
OSCILLATORS
PITCH0 st
SIGNAL
AMP
BASS
MID
HIGH
GLITCH DATA CONTRACT
window.__BEAT_AUDIO__.frequencyData  // Float32Array[128] dB values
window.__BEAT_AUDIO__.waveformData   // Float32Array[256] time-domain
window.__BEAT_AUDIO__.amplitude     // 0-1 smoothed RMS
window.__BEAT_AUDIO__.bass          // 0-1 low band energy
window.__BEAT_AUDIO__.mid           // 0-1 mid band energy
window.__BEAT_AUDIO__.high          // 0-1 high band energy
window.__BEAT_AUDIO__.peak          // bool transient spike
window.__BEAT_AUDIO__.playing       // bool engine state
sound and sight from the same data