Drum machine · gpt-4o-mini
Output generated Cost / run $0.0008 Runtime 10.0s
Prompt for this run
Build a 16-step drum machine with a clickable grid for kick, snare, hi-hat, and clap, all sounds synthesized with the Web Audio API, plus play/stop and an adjustable BPM.
TAKE IT TO CODE
A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.
RUN
METRICS
Transcript · 4 messages
Build a 16-step drum machine with a clickable grid for kick, snare, hi-hat, and clap, all sounds synthesized with the Web Audio API, plus play/stop and an adjustable BPM.
index.html (2898 bytes)Successfully wrote 2898 bytes to index.html
The 16-step drum machine has been created and written to `index.html`. You can now run it by opening this file in a web browser. The app features a clickable grid for kick, snare, hi-hat, and clap sounds, synthesized using the Web Audio API, along with play/stop buttons and an adjustable BPM.