Audio Visualizer
Professional client-side audio renderer. Turn audio into reactive HD video (WebM). Features 50+ aesthetic palettes, text overlays, and EQ-based animations.
About
This is a studio-grade, browser-based signal processing engine designed to convert audio streams into mathematically synchronized motion graphics. Unlike cloud-based competitors that require waiting for rendering queues, this tool utilizes the client's GPU via the HTML5 Canvas API for zero-latency preview and export. It is engineered for podcasters, musicians, and data audiophiles who require precise control over the visual representation of the frequency spectrum.
The system employs a high-resolution AnalyserNode with a configurable smoothing time constant. This ensures that the visual output captures both the transient peaks (percussion) and the sustained harmonic content (pads, vocals) without visual jitter. The export pipeline leverages the MediaRecorder API to fuse the audio track with the 60 FPS canvas stream, generating a compressed WebM file optimized for modern social media platforms.
Formulas
The core visualization logic relies on windowing functions to reduce spectral leakage during the Fourier Transform. We apply a Hann Window function w(n) to the input signal before FFT processing:
Decibel conversion for visual magnitude is calculated logarithmically to match human hearing perception:
Reference Data
| Frequency Range | Visual Character | EQ Strategy | Role in Mix |
|---|---|---|---|
| 20Hz − 60Hz | Slow, heavy pulses | Cut if muddy | Sub-Bass: Felt physically, provides the "floor". |
| 60Hz − 250Hz | Rhythmic movement | Boost for warmth | Bass: The fundamental groove and rhythm. |
| 250Hz − 500Hz | Structural body | Cut to remove "boxiness" | Lower Mids: Fullness of acoustic instruments. |
| 500Hz − 2kHz | Primary texture | Stable visual activity | Midrange: Vocals, speech intelligibility. |
| 2kHz − 4kHz | Rapid spikes | Sensitive to harshness | Upper Mids: Attack, slap, and presence. |
| 4kHz − 6kHz | Definition layer | Adds "in-your-face" feel | Presence: Clarity for vocals and leads. |
| 6kHz − 20kHz | Fine, jittery detail | "Air" or "Sparkle" | Brilliance: Cymbals, reverb tails, atmosphere. |