game-audio

Generate procedural music and sound effects for browser games using the Web Audio API.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/meytalp-dev/ort-training --skill game-audio-meytalp-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: game-audio
Source: https://github.com/meytalp-dev/ort-training/tree/main/.claude/skills/game-audio
Command: npx skills add https://github.com/meytalp-dev/ort-training --skill game-audio-meytalp-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to add dynamic, procedural game music and sound effects directly in the browser using the Web Audio API, without any external dependencies.

Core Features & Use Cases

  • Procedural BGM and SFX: Generate background music and sound effects entirely in-browser with zero dependencies.
  • Deterministic playback: Lightweight, deterministic sound generation suitable for browser games.
  • Mute/Volume control: Master gain node to quickly mute all audio and easily integrate with UI.
  • Use Case: Ideal for adding atmospheric audio to a browser game without managing asset pipelines or external files.

Quick Start

Initialize the AudioContext on first user interaction and then call gameplayBGM() to start the loop and use the provided sfx functions for sound effects.

Frequently Asked Questions about game-audio

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate procedural game audio in the browser without external assets?

Procedural game audio is generated entirely in the browser using the Web Audio API, creating background music loops and sound effects dynamically without external assets or dependencies.

What is the best way to add zero-dependency background music to a browser game?

The best way to add zero-dependency background music is using a built-in sequencer that synthesizes audio loops in-browser via the Web Audio API, avoiding the overhead of external dependency management.

Why does my Web Audio API AudioContext fail to start before user interaction?

Web Audio API AudioContext initialization fails before user interaction due to browser autoplay policies, requiring in-context initialization on the first user gesture to successfully start audio playback.

Can I implement a global mute control for browser game sound effects?

Yes, you can implement a global mute control for browser game sound effects by routing all procedural audio through a master gain node, allowing you to easily mute all audio and integrate with UI.

Does procedural audio generation work for both background music and in-game sound effects?

Procedural audio generation works for both background music and in-game sound effects by utilizing a built-in BGM sequencer alongside a dedicated SFX engine to synthesize deterministic audio directly in the browser.