2026 / Interactive audio / Case study
VYBEFORMIQ
Sound. Reimagined.
An audio-reactive visualizer that turns music into frequency bars, circular waveforms, particles, and moving geometry. Audio analysis runs locally in the browser without uploading the sound.

The experience
The design brings source selection, playback, and visual controls into one studio. Listeners can share device audio from Spotify, Pandora, YouTube or any other player, use a microphone, or choose and drop their own audio files. Shared tab or screen audio is intended for desktop Chrome and Edge and requires enabling audio in the browser sharing dialog.
Sensitivity, bass intensity, density, five palettes, and custom colours let listeners shape the stage. Named setups persist in the browser. Keys 1–5 switch modes, Space controls file playback, and F toggles fullscreen.

Spectrum
Frequency bars with falling peak caps and a reflected floor.

Orbit
A circular spectrum and waveform with beat-driven particles.

Nebula
A 3D particle cloud where each particle follows its own frequency band.

Tunnel
Rotating geometric rings whose flight speed follows level and beat.

Ambient
Slow, smoothed colour fields for a second monitor.
Technical breakdown
React 18 · TypeScript · Vite · Tailwind CSS 3 · Web Audio API · Canvas 2D · Three.js / React Three Fiber · Zustand
01 / One analysis engine, multiple sources
The audio engine routes files through an HTMLAudioElement and captures microphone or shared audio through MediaStream sources. An AnalyserNode uses a 2048-point FFT to produce 64 logarithmically spaced bands, waveform samples, bass, mids, treble, and overall level. Beat detection compares bass energy against its recent average.
02 / A shared frame drives the visuals
Canvas 2D modes and the Three.js scene consume the same audio frame. Nebula and Tunnel load the 3D scene lazily when selected. Synthetic idle motion keeps the stage active before playback. Frame buffers are reused rather than recreated for every analysis call.
03 / Persistent controls
Zustand separates visual settings from playback state. Its persistence middleware stores palettes, mode, sensitivity, bass intensity, density, and named presets in localStorage.
04 / Source lifecycle and feedback
Captured streams feed analysis without playing back through the speakers, avoiding microphone feedback. Source changes stop existing stream tracks; file selection revokes previous object URLs. Missing shared audio and blocked microphone access surface actionable messages.
Implementation reference
This case study describes the implementation in the repository; it makes no measured performance or usage claims.