Audio Visualizers
Acoustic Soundscape
Acoustic Soundscape control in the Artisan Café system.
canvasheavy complexitymoderate motionclickaccessible
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Café, wellness or ambience pages that offer an optional looping background soundscape with a clear on/off control.
When not to
Pages where sound must never start by itself or where the chord loop would compete with other audio.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the chord progression in the chords array, the steam hiss (bandpass frequency 1400 Hz) and the colours in :root (--pa-board, --pa-blush, --pa-mint, --pa-butter). Keep audio created inside the click handler, the aria-pressed toggle on #pa01-toggleBtn and the idle wave drawing.
Safe to edit
- chord progression (chords array)
- steam noise filter (sf.frequency.value = 1400)
- palette tokens (--pa-board, --pa-board-deep, --pa-blush, --pa-mint, --pa-butter)
- button labels (Listen to café / Pause soundscape)
Keep intact
- Idle attract stops on first control. Explicit café soundscape remains live until user turns it off or frame tears down.
- 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 output depends on browser audio policy 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.