Skip to content

Procedural music and sound effects for a game, synthesized in the browser with the Web Audio API.

CCM score
46 of 100
skills.sh installs
1.2K
GitHub stars
380
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Adds looping background music via a Web Audio step sequencer, plus one-shot sound effects played directly through the Web Audio API
  • Requires no audio files or npm packages, since all sound is generated in the browser at runtime
  • Starts with an audit of the existing game at a given path (or the current directory) before adding any audio
  • Loads the game-audio skill first to supply the full Web Audio patterns and integration guide

Install

$ npx -y skills add playableintelligence/game-creator --skill add-audio -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Performance Notes

  • Take your time to do this thoroughly
  • Quality is more important than speed
  • Do not skip validation steps

Add Audio

Add procedural music and sound effects to an existing game. BGM uses a Web Audio API step sequencer for looping patterns. SFX use the Web Audio API directly for true one-shot playback. No audio files or npm packages needed — everything is synthesized in the browser.

Instructions

Analyze the game at $ARGUMENTS (or the current directory if no path given).

First, load the game-audio skill to get the full Web Audio patterns and integration guide.

Step 1: Audit

  • Read src/core/EventBus.js to see what game events exist (flap, score, death, etc.)
  • Read all scene files to understand the game flow (gameplay, game over)
  • Identify what music and SFX would fit the game's genre and mood

Step 2: Plan

Present a table of planned audio:

Details

Repository
github.com/playableintelligence/game-creator
Categories
Game Development, Frontend & UI Code
First seen
Jun 3, 2026

More from playableintelligence/game-creator

All 26

Similar to Add Audio

More Game Development