oneshotlm
Compare all models on this prompt →

Drum machine · nova-2-lite-v1

Output generated Cost / run $0.0238 Runtime 74.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.

⛨ sandboxed Open in new tab ↗

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

modelnova-2-lite-v1
vendorAmazon · Nova
harnesspi-agent
generated2026-08-01

METRICS

runtime74.0s
tokens in9.6k
tokens out8.4k
cached0
cost / run$0.0238
Transcript · 4 messages
user

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.

assistant
thinking
[REDACTED].
→ write index.html (22599 bytes)
toolResult

Successfully wrote 22599 bytes to index.html

assistant
thinking
[REDACTED].

✅ I've created a fully self-contained 16-step drum machine in `index.html`! The file includes: - A clickable grid for Kick, Snare, Hi-hat, and Clap sounds - Web Audio API synthesis for all drum sounds (no external resources) - Play/Stop controls and BPM adjustment (60-240 BPM) - Visual feedback showing active steps and current playback position - Responsive design that works on mobile and desktop The drum machine is ready to use - just open `index.html` in any modern browser to start creating beats!