Piano synth · gpt-4o-mini-2024-07-18
Output generated Cost / run $0.0010 Runtime 15.2s
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.
index.html (3353 bytes)Successfully wrote 3353 bytes to index.html
The single-page web app has been created and is fully contained in `index.html`. You can find a playable piano keyboard controlled by mouse and computer keys, using the `tone.min.js` library for sound synthesis. Feel free to check the `index.html` file in your current directory.