oneshotlm
Compare all models on this prompt →

Piano synth · inkling-small

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
thinking
The user wants a piano keyboard using the pre-provided tone.min.js. Let me first check what file exists and its content briefly, then build index.html.
bash {"command":"ls -la tone.min.js && head -c 200 tone.min.js"}
toolResult

-rw-r--r--. 1 node node 349169 Aug 1 20:29 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):"ob

assistant
thinking
Now I'll write index.html with piano keyboard, mouse/keyboard control, Tone.Synth with ADSR, visual feedback.
write /tmp/ws/index.html (4918 bytes)
toolResult

Successfully wrote 4918 bytes to /tmp/ws/index.html

assistant
thinking
Finished. Confirm file exists with correct content.
bash {"command":"ls -la index.html && echo \"---\" && grep -c \"tone.min.js\" index.html && grep -c \"ADSR\\|envelope\\|attack\\|release\\|trigge
toolResult

-rw-r--r--. 1 node node 4918 Aug 1 20:30 index.html --- 1 10

assistant
thinking
Done. Provide brief summary.

Created `/tmp/ws/index.html`. It loads `tone.min.js`, renders a keyboard with white/black keys, uses `Tone.PolySynth` with ADSR envelope (`attack/decay/sustain/release`), supports mouse and computer-key input (Z-M rows), and shows active-state visual feedback. Click "Start Audio" to initialize Tone.

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

modelinkling-small
vendorThinking Machines
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 partial

Piano UI renders correctly but requires clicking 'Start Audio' first; none of the tested inputs (click, drag, wheel, keys) visibly triggered key presses.

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 click0.0%
on drag0.0%
on wheel0.0%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread62.6 / 255
console errors1
js errors none

METRICS

runtime14.1s
tokens in9.8k
tokens out2.1k
cached6.7k
cost / run$0.0085