01How to use it
- Click or touch the keys, or use the computer keyboard (Z–M for the lower octave, Q–U for the upper one).
- Hold Space for the sustain pedal, or toggle “Sustain”.
- Use the octave buttons or ← → to move the range; choose 1–5 octaves.
- Optional: highlight a scale, or switch on chord mode to play a whole chord per key.
02What it is good for
- Trying out melodies and chords without an instrument.
- Practising scales with the notes highlighted.
- Teaching notes and intervals in class.
03How it works
The piano sound is synthesised: each note combines slightly stretched partials (as on a real piano string) that fade at different speeds, plus a short hammer noise. No sample files are downloaded, so the page loads quickly even on slow connections.
The keyboard follows the standard “two rows” layout of music software. Several notes can sound together; a limiter keeps big chords from distorting.
All instrument sounds are synthesised in your browser with the Web Audio API — no sound samples are downloaded. Strings use the Karplus–Strong plucked-string model, the piano voice adds slightly stretched partials with individual decay, and drums are built from filtered noise and pitch sweeps. A limiter keeps the total volume in a safe range even when many notes sound at once.
04Troubleshooting
- If there is a delay between pressing and hearing, use wired headphones instead of Bluetooth and close other audio apps.
- Click into the instrument first so that the computer keyboard controls it.
- On phones, turn off silent mode on iPhone (the side switch) if you hear nothing.
05Browser and device support
Works in current Chrome, Edge, Firefox and Safari on desktop and touch screens, with multi-touch on phones and tablets. A MIDI keyboard needs Web MIDI: supported in Chrome and Edge; Firefox offers it only through a site-permission add-on (not tested here); Safari does not support it.
06Privacy
This tool does not use the microphone. Sounds are generated by your browser, and any settings or practice history are saved only in this browser (local storage) on a separate tool address.
Use “Delete data saved in this browser” at the bottom of the page to remove everything Music Lab has stored on this device.
07Limits
- The synthesised sounds are good for practice and learning, but they are not recordings of real instruments.
- Audio latency depends on the device and operating system; some older Android phones have noticeable delay.
08Questions and answers
Can I connect a real MIDI keyboard?
Yes in Chrome and Edge, which ask for MIDI permission. Firefox offers Web MIDI only through a site-permission add-on, which we have not tested with this page; Safari does not support Web MIDI.
Why is there a delay on my phone?
Some Android devices have high audio latency. Wired headphones and closing other apps help; Bluetooth adds the most delay.
Is Music Lab free? Do I need an account?
Yes, every tool is free and works without registration. The site is funded by advertising shown on the article pages — never inside the tools themselves.