Piano synth · mistral-large-2512
Output generated Cost / run $0.0039 Runtime 23.6s
Prompt for this run
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.
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
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.
/tmp/ws/index.html (5077 bytes)Successfully wrote 5077 bytes to /tmp/ws/index.html
The playable piano keyboard is ready! **Open `/tmp/ws/index.html` in a browser** to use it. Features: - **Mouse & Keyboard Control**: Click keys or use `A` `W` `S` `E` `D` `F` `T` `G` `Y` `H` `U` `J`. - **ADSR Envelope**: Smooth attack, decay, sustain, and release for realistic notes. - **Visual Feedback**: Keys light up when played. - **Self-Contained**: No external resources—just open the file.