oneshotlm
Compare all models on this prompt →

Arpeggiator pad · muse-spark-1.2

Using the pre-provided tone.min.js (global Tone), build a clickable pentatonic pad grid that triggers a synth voice with reverb, plus a play/stop button that runs an arpeggiator sequence at an adjustable tempo. All sound synthesized, no audio files.

⛨ sandboxed Open in new tab ↗
transcript · 8 messages
user

Using the pre-provided tone.min.js (global Tone), build a clickable pentatonic pad grid that triggers a synth voice with reverb, plus a play/stop button that runs an arpeggiator sequence at an adjustable tempo. All sound synthesized, no audio files.

assistant
bash {"command":"ls -lh && head -c 500 tone.min.js"}
toolResult

total 344K -rw-r--r--. 1 node node 341K Aug 13 01:24 tone.min.js /*! For license information please see Tone.js.LICENSE.txt */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Tone=e():t.Tone=e()}("undefined"!=typeof self?self:this,(()=>(()=>{var t={382:function(t,e,s){!function(t,e,s,n){"use strict";function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=i(e),r=i(s),a=i(n),c=function(t,e,s){return{endTime:e,insertTime:s

assistant
write index.html (34475 bytes)
toolResult

Successfully wrote 34475 bytes to index.html

assistant
bash {"command":"ls -lh index.html && grep -c \"tone.min.js\" index.html && grep -c \"PolySynth\" index.html && grep -c \"Reverb\" index.html"}
toolResult

-rw-r--r--. 1 node node 34K Aug 13 01:24 index.html 1 1 2

assistant

Built `index.html` — single-file pentatonic synth with Tone.js: **Pad Grid:** 20 pads (5-tone C pentatonic `C-D-E-G-A` × 4 octaves) — click/drag, pointer capture, latch vs momentary, octave shift, keyboard `Z-X-C-V-B / A-S-D-F-G / Q-W-E-R-T / 1-5` and glissando. Each pad shows note, degree (I II III V VI), and frequency. Voices: Warm Pad (fat saw), Glass Belle (sine), Pluck Bloom (triangle) via `Tone.PolySynth` → `Filter` → `Chorus` → `FeedbackDelay` → `Reverb (6s decay)` → Limiter. **Arpeggiator:** Play/Stop toggles `Tone.Transport` + `Tone.Loop`; patterns: Up, Down, Up•Down, Random Walk, Pendulum, Chord Bloom (3-note). Rate: `8n/8t/16n/16t`. Visual arpeggio highlight (`arp` glow) synced via `Tone.Draw`. Adjustable tempo 60–200 BPM via slider + TAP tempo + preset chips, beat meter pulse and waveform visualizer from `Tone.Analyser`. No samples, fully synthesized, no network — loads `tone.min.js` locally.

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

modelmuse-spark-1.2
vendorMeta
harnesspi-agent
generated2026-08-13

EVALUATION

4/5 working

Pentatonic pad grid with arpeggiator sequencer; clicking pads lights them, space/arrows/wasd start sequencer with glowing pad animation.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion1.1%
on click2.7%
on drag3.7%
on wheel1.8%
on enter + space36.7%
on arrow keys43.9%
on w/a/s/d7.3%
frame spread34.4 / 255
console errors0
js errors none

METRICS

runtime40.8s
tokens in29k
tokens out12k
cached2.8k
cost / run$0.0848