🌍 Public
Viewing a saved revision (read-only)
2126a45834a145f3a8952ff8dca9fca7
Tone.js - Rock drum sounds + Reverb
This example demonstrates how to create a rock drum beat with reverb using the Tone.js audio library. It plays a sequence of kick, snare, and hi-hat sounds through reverb and filter effects. The drum pattern data is defined as strings representing eighth-note sequences. The interface shows a Play button that triggers the audio and displays "Playing" text. The code uses Tone.Sequence, Tone.Reverb, Tone.Filter, Tone.NoiseSynth, Tone.Synth, and Tone.MembraneSynth to construct the beat.
AI-generated description