oneshotlm
Compare all models on this prompt →

Piano synth · qwen3-vl-32b-instruct

Using the pre-provided tone.min.js (global Tone), build a playable piano keyboard controlled by mouse and computer keys that synthesizes notes with an ADSR envelope and visual key feedback.

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

Using the pre-provided tone.min.js (global Tone), build a playable piano keyboard controlled by mouse and computer keys that synthesizes notes with an ADSR envelope and visual key feedback.

assistant
bash {"command":"ls -la"}
toolResult

total 344 drwxr-sr-x. 2 node node 25 Aug 1 20:28 . drwxrwsrwx. 3 root node 16 Aug 1 20:28 .. -rw-r--r--. 1 node node 349169 Aug 1 20:28 tone.min.js

assistant
read {"path":"tone.min.js"}
toolResult

/*! For license information please see Tone.js.LICENSE.txt */ [Showing lines 1-1 of 3 (50.0KB limit). Use offset=2 to continue.]

assistant
write index.html (6308 bytes)
toolResult

Successfully wrote 6308 bytes to index.html

assistant

I've created a single-page web app with a playable piano keyboard that: 1. Uses the provided `tone.min.js` library for audio synthesis 2. Implements an ADSR envelope (Attack, Decay, Sustain, Release) for realistic sound 3. Provides visual feedback when keys are pressed (keys highlight) 4. Supports both mouse interaction and computer keyboard input (A to L keys for white keys, Z, X, C, V, B, N, M, comma, period, slash for black keys) 5. Includes proper positioning of black keys above white keys 6. All code is contained in one self-contained `index.html` file with inline CSS and JavaScript The piano features: - 14 white keys (C4 to C6) - 10 black keys (C#4, D#4, F#4, G#4, A#4, C#5, D#5, F#5, G#5, A#5) - Visual key highlighting on press - Smooth transitions for better user experience - Clear instructions at the top The app runs completely offline with no external resources or network requests.

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

modelqwen3-vl-32b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 partial

Piano keyboard renders with key labels; click and drag highlight keys, but arrows/enter+space/wasd show leftover state, not distinct new response.

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 motion0.0%
on click1.2%
on drag1.4%
on wheel0.0%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread28.5 / 255
console errors0
js errors
  • Invalid argument to cancelAndHoldAtTime: null
  • Invalid argument to cancelAndHoldAtTime: null
  • Invalid argument to cancelAndHoldAtTime: null
  • Invalid argument to cancelAndHoldAtTime: null
  • Invalid argument to cancelAndHoldAtTime: null

METRICS

runtime32.9s
tokens in8.8k
tokens out2.4k
cached0
cost / run$0.0019