🎹 KeyFlow Projector Lab
Physical piano • projection mapping

Turn almost any MIDI keyboard into a falling-note piano.

Learn how to project color-coded notes above your keyboard, align the hit line with your keys, and test the animation before buying a projector. This is a standalone prototype page; it does not change your existing piano.html.

1 · Connect

Computer → HDMI projector. MIDI keyboard → USB to computer. The projector needs no MIDI controller.

2 · Align

Set keyboard range, note width, horizontal shift, perspective, and timing offset.

3 · Practice

Preview falling notes, use MIDI input to highlight notes, and adjust the setup for your room.

Setup tutorial

Step 1 — Arrange your equipment

Place a projector so it illuminates a flat panel or surface immediately behind the keys. Connect HDMI to the computer, select Extend display (not Duplicate), and position the projection window on the second screen.

Step 2 — Connect your keyboard

Plug in a USB MIDI keyboard. In Chrome or Edge, click Connect MIDI below and grant permission. Web MIDI generally requires HTTPS or localhost. The demo works without MIDI too.

Step 3 — Match the physical keys

Choose 25/49/61/76/88 keys and set the lowest MIDI note. Adjust horizontal position, width and corner offsets until each colored column points toward its physical key. MIDI identifies notes but cannot automatically locate keys in physical space.

Step 4 — Set the hit line

Place the white hit line at the physical edge where the student should press. Adjust the preview time (how many seconds ahead notes appear) and timing offset. Use the Calibration pattern to check spacing.

Step 5 — Save your setup

Save calibration locally in this browser. Use Open projection fullscreen, then move that browser window onto the projector screen before entering fullscreen if needed. Some browsers keep fullscreen on the current monitor.

Important: This demo provides manual alignment and a simulated lesson. It does not yet synchronize with the live KeyFlow song engine or automatically measure projector latency. A projector cannot detect key presses by itself.

Interactive projection demo

Test keyboard alignment and falling notes. The moving blocks represent an original C-major exercise, not a licensed song transcription.

Ready. Demo uses an original 8-note scale pattern. Press the matching MIDI keys to see a green flash.

Tip: the projected image must be physically wide enough to cover the selected keys. If 88 keys look too narrow, adjust the projector's throw distance first, then use the software width control for fine alignment.

Projector buying guide and price suggestions

Budget-first approach: consider $30–$50 HDMI mini projectors only after testing actual focus, throw distance, image readability and lag. The Zunate Amazon model B0HHJSZ9X6 is a candidate, not verified as compatible. See the updated buying guide.

Example U.S. listings checked November 2026. These are purchase candidates, not guaranteed KeyFlow-compatible devices. Verify throw ratio, close-range focus, HDMI input, and measured latency before buying.

Low-cost experiment

Magcubic HY320F

~$138

Entry-level mini projector. Useful for trying the concept in a dark room. Its advertised “short throw” and timing performance need independent verification.

View listing
Compact short-throw

Optoma ML1080ST

~$1,139

Native 1080p, 550 ANSI lumens, 0.78:1 throw ratio, HDMI/USB-C. Stronger fit for a compact projection prototype, but still verify geometry.

View listing
Bright short-throw

ViewSonic PS502W

~$580

4,000-lumen WXGA short-throw projector, 0.52:1 throw ratio. Larger than a pocket projector, but potentially easier for a wide keyboard in ambient light.

Compare listings

Quick distance estimator

Estimated lens-to-image distance = desired image width × throw ratio. This is an approximation for a flat surface perpendicular to the lens; projecting across angled or multiple surfaces requires additional geometry correction.

37.4 inches (3.1 feet)

New to piano? Pick your way to learn: freestyle, computer lessons, human videos, live tutors, or music theory.