Keyboard Piano

@rebind / keyboard-pianov0.1.4Public

Your keyboard becomes a piano with chords, sustain and octave shift. A lessons page in your browser teaches five songs.

Files

Older release. Installs get 0.1.4.

README.md2.0 KB

# Keyboard Piano

Play piano notes with your keyboard. Hold several keys for a chord; notes fade when you let go. Works on Windows and macOS. Played live on macOS; Windows use remains unverified.

## Keys

White notes use the Z and Q rows. Black notes use the row above each.

| Notes | White keys | Black keys |
|---|---|---|
| C3 to E4 | Z X C V B N M , . / | S D G H J L ; |
| C4 to G5 | Q W E R T Y U I O P [ ] | 2 3 5 6 7 9 0 = |

| Key | Action |
|---|---|
| Space | Keep released notes ringing until you let go |
| Left / Right | Shift down / up an octave, one octave either way |
| F9 | Play or stop the chosen song; you can play along |
| F8 | Turn the piano off or on so you can type again |

Change these five controls, volume, and how long notes fade in settings. Restart after changing a key. Shortcuts with Ctrl, Alt, or Cmd/Win keep working.

## Learn a song

Starting the script opens `http://localhost:47800` in your browser. Press the key shown on each falling block as it reaches the line. Play the melody while the piano plays the left hand, or choose **Watch it played** to hear both. Choose slow, medium, or full speed; the page keeps your best score for each song and speed.

Choose from Twinkle, Twinkle, Little Star; Ode to Joy; Jingle Bells; Minuet in G; and Für Elise. These public-domain songs fit the upper key row without shifting octaves. F9 plays the song selected on the page.

## Privacy and limits

- The game makes no outgoing network connections. It opens your browser unless **Open the game page when the script starts** is off.
- The page is available only on this computer, but other devices on your local network can connect to port **47801**, receive played notes, and choose, start, or stop songs. Turn off **Serve the game page** and restart to disable both network listeners.
- Turn the piano off with F8 before typing. Every note has the same loudness. Some keyboards cannot register certain chords of three or more keys.
- Sounds are synthesized, not recordings of an instrument.

62 files, 1.3 MB. 56 have no text preview.