web-audio

Community

Fault-tolerant browser audio patterns.

Authormatthewharwood
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Audio in web apps is prone to latency, autoplay restrictions, and jank. These patterns provide a robust approach to preloading, rapid-fire playback, and accessibility-conscious audio.

Core Features & Use Cases

  • AudioContext singleton and preloading for instant playback.
  • cloneNode() for rapid-fire sounds.
  • Autoplay guardrails with silent error handling.
  • Volume hierarchy and Web Audio API effects (ducking, reverb).

Quick Start

Preload a set of sounds at startup, then play a 'click' sound with cloneNode for rapid repeats.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: web-audio
Download link: https://github.com/matthewharwood/fantasy-phonics/archive/main.zip#web-audio

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository