Audio Visualizers
Chiptune Soundboard
Chiptune Soundboard control in the 8-Bit Gaming system.
cssmedium complexitymoderate motionclickaccessible
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Retro game sites or UI kits that need a four-pad sound effects board with large, high-contrast buttons.
When not to
Pages that must stay silent until asked, or boards with many sounds; every pad makes its sound with the Web Audio API on click.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Edit the oscillator frequencies and gain ramps inside the onclick handlers of #bg01-coin, #bg01-jump, #bg01-zap and #bg01-power to change the sounds, rename the pad labels in the buttons, and recolour with the .bg01-btn and .bg01-demo rules. Keep the audio context created inside the click handler and the idle .bg01-demo highlight.
Safe to edit
- pad labels (button text in .bg01-grid)
- sound recipes (oscillator type, frequency and gain ramps in each onclick)
- pad colours (.bg01-btn, .bg01-btn:hover, .bg01-demo)
- idle demo highlight timing (4000 ms in idleDemo)
Keep intact
- First soundboard action stops idle demonstration. User-triggered sound keeps playing to completion; teardown closes audio context.
- demo-v1 preview lifecycle: initialize demoEnabled from window.__foreverPreview and stop attract work on the window forever:interactive event; retain manual feedback, settling, cleanup and explicit sessions
Known limitations
- Audio playback depends on browser audio permission and sandbox capability.
- Microphone acquisition is permission- and sandbox-dependent; mocked tests verify track/context teardown, not hardware access.
- State remains local to each mounted instance; format/theme remount preserves takeover, not component values.
More Audio Visualizers components
- Spectrum Bars56 mirrored chartreuse-gold frequency bars animate with gravity peak-hold caps on a dark canvas; a "live" button switches from synth simulation to real…
- Radial Spectrum96 verdigris radial bars radiate from a bass-driven pulsing core around a slowly rotating ring; driven by a synthetic signal or live mic input on click.
- OscilloscopeVerdigris phosphor-glow waveform sweeps across a faint scope grid with ghosting persistence trail; click to upgrade to live microphone input.
- VU MeterCream analog VU meter with a spring-damped needle, dB scale, red peak zone, and peak-hold pip. Synth signal by default; click switches to live mic.
- Lissajous ScopeVerdigris Lissajous figure drifts and rotates on a dark scope grid with phosphor trail decay and a glowing beam head; a Live button upgrades to real mic…
- Waveform RiverMirrored verdigris waveform ribbon scrolls right-to-left on dark; glowing dot marks the live head. Click LIVE to switch from synthetic signal to microphone.