Skip to main content
100%

SpectrogramJS

✓ Published0🌍 Public
JJoker-tr
Last edited Jan 2, 2020
Created on Jan 2, 2020
Forked from Hello VizHub

A spectrogram visualization displays the frequency spectrum of an audio file over time, rendered as a scrolling heatmap across a canvas. The example loads a duck sound effect, analyzes it with the Web Audio API’s `AnalyserNode`, and records frequency data during playback. D3.js draws the axes and scale grid as SVG overlays, while the spectrogram’s pixel data is painted onto the canvas. Playback and analysis run via `ScriptProcessorNode` and `requestAnimationFrame`, and the visualization updates in real time until the sound finishes.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes