How eddyvs/drum-software works
This is a small browser drum sequencer: it loads drum samples, then runs separate beat and tom timers that trigger sounds from fixed patterns. The excerpts show these runtime behaviors, but not how the HTML starts the sketch or loads p5.js, so those connections are omitted.
Main entry points: sketch.js Tom scheduler · Project.mp3 Snare sample · cymbal.mp3 Cymbal sample · kick.mp3 Kick sample
Components 9
Other components
- Timer setup
sketch.js - Beat scheduler
sketch.js - Tom scheduler
sketch.js - Cymbal sample
cymbal.mp3 - Kick sample
kick.mp3 - Snare sample
Project.mp3 - Tom 1 sample
tom1.mp3 - Tom 2 sample
tom2.mp3 - Tom 3 sample
tom3.mp3
Connections 9
- Timer setup → Beat scheduler: schedules
sketch.js - Timer setup → Tom scheduler: schedules
sketch.js - Beat scheduler → Cymbal sample: plays
sketch.js - Beat scheduler → Kick sample: plays
sketch.js - Beat scheduler → Snare sample: plays
sketch.js - Tom scheduler → Tom 1 sample: plays
sketch.js - Tom scheduler → Tom 2 sample: plays
sketch.js - Tom scheduler → Tom 3 sample: plays
sketch.js - Tom scheduler → Snare sample: plays
sketch.js