threejs-impl-audio

Official

Deterministic Three.js audio patterns and usage.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Solves the challenge of reliably adding audio to Three.js scenes by guiding proper AudioListener placement, non-positional and positional audio usage, and safe playback that respects browser autoplay policies.

Core Features & Use Cases

  • Background music with autoplay policy compliance
  • Spatial audio attached to meshes for 3D sound
  • Audio analysis for visualization using AudioAnalyser
  • Reference examples and anti-patterns for safe implementation

Quick Start

Attach a single AudioListener to the camera, create Audio or PositionalAudio with that listener, load audio via AudioLoader, and resume the AudioContext on the first user interaction before playing.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: threejs-impl-audio
Download link: https://github.com/OpenAEC-Foundation/Three.js-Claude-Skill-Package/archive/main.zip#threejs-impl-audio

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.