Experiments 05
Audio Visualizer
Enable your microphone to see its audio spectrum. Rust computes the frequencies; the canvas displays them as bars, waves, circles, or particles.
Rust · WASM · Web AudioView source
loading engine…
Notes
Capture
The Web Audio API streams microphone samples into the WASM module in fixed-size frames.
Transform
A Hann window and a radix-2 FFT in Rust return magnitudes in decibels, binned for display.
Draw
Four canvas modes — bars, wave, circular, particles — read the same bins.