Air Piano — Play with Your Hands
A full piano keyboard appears on your webcam feed. Hold your hands above the keys and tap your fingers downward to play notes. Two octaves, white and black keys, real piano samples — completely free and private, all processing happens in your browser.
Click here to Start
Last Played
—
Hold hands above keys and tap downward to play
How to Play
- Click Enable Sound first — browsers require a user tap to unlock audio. You'll hear a test note (middle C) and the button turns green.
- Click the camera area to start — allow camera access when prompted. Sit ~50–80 cm from your camera in a well-lit room.
- A two-octave piano keyboard will appear overlaid on your camera feed, with white and black keys visible across the upper portion of the view.
- Hold both hands above the keyboard with fingers pointing downward, as if hovering over a real piano.
- Tap a finger downward through the bottom edge of any key to strike it. The key glows and plays the note.
- Play chords by tapping multiple fingers at the same time — both hands are tracked independently.
- Black keys are the narrower dark keys between the white ones — tap them precisely in the upper portion of the keyboard.
How It Works
The piano has been called the "king of instruments" for its incredible range and versatility. With 88 keys spanning over seven octaves, it can produce everything from thunderous bass to sparkling high notes. This Air Piano gives you two full octaves (C4 to C6) — the middle range where most melodies and chords live. The white keys play the natural notes (A, B, C, D, E, F, G), while the black keys provide the sharps and flats that add color and emotion to music. A standard piano produces sound when felt hammers strike tuned steel strings inside a wooden soundboard, creating rich overtones and sustain. You can play single-note melodies, simple two-note intervals, or full chords with all five fingers. The reverb option simulates how sound bounces around a concert hall, adding depth and warmth to each note you play. Whether you are learning your first scale or playing a favorite tune, the piano layout makes music theory visible and intuitive.
Frequently Asked Questions
Does this send my camera feed to a server?
No. All hand tracking and sound synthesis runs entirely in your browser using JavaScript and WebAssembly. Your camera feed never leaves your device.
Why is there no sound when I tap the keys?
Browsers block audio until the user interacts with the page. Click the Enable Sound button first — it turns green and plays a test note. Then try tapping the keys.
Why isn't my hand being detected?
Make sure you're in a well-lit room with your hand clearly visible in frame. Avoid bright windows behind you. Keep your hands roughly 40–80 cm from the camera with fingers visible.
How do I play black keys?
Black keys are the narrower dark keys overlaid between the white ones. Tap your finger into the upper portion of the keyboard where the black keys sit. They have a smaller hit zone than white keys, so aim carefully.
Can I play chords?
Yes — all 10 fingertips across both hands are tracked simultaneously, so you can tap multiple keys at the same time to play full chords.
Can I use this on mobile?
Yes — it works on modern mobile browsers with a front-facing camera. Use Chrome or Safari on a recent device. Hand tracking is CPU-intensive on mobile, so performance may vary. A larger screen (tablet) will give a better key-targeting experience.
Related Instruments
- Virtual Piano — play with mouse or keyboard
- Air Guitar
- Air Harp
- Air Xylophone
- Air Theremin
- Pitch Detector
- Guitar Tuner
- Virtual Bass Guitar
- Virtual Organ