What problem does it solve?
This Skill helps you build reliable, browser-based audio experiences with Tone.js by guiding correct initialization, musical timing, resource cleanup, and common implementation patterns.
Core Features & Use Cases
- Synths, samplers, and players: Create instruments like
Tone.Synth, Tone.PolySynth, Tone.Sampler, and Tone.Player to generate or play sound.
- Transport-synced sequencing: Schedule rhythmically accurate events using
Tone.getTransport(), Tone.Loop, Tone.Sequence, Tone.Part, and triggerAttackRelease(..., time).
- Audio graphs and effects chains: Build Web Audio routing patterns and effect chains using
.connect(), .chain(), and .toDestination(), including common effects such as Reverb, PingPongDelay, Filter, and Envelope components.
- Developer safety rules for browser audio: Ensures you start audio from a user gesture via
await Tone.start() and dispose nodes when they’re no longer needed.
Quick Start
Use this Skill to set up Tone.js in a TypeScript/JavaScript app and play a note by calling await Tone.start() from a user click handler, then creating an instrument and scheduling sound with Tone’s timing helpers.