Skip to content
| Marketplace
Sign in
Visual Studio Code>Education>Piano KeystrokesNew to Visual Studio Code? Get it now.
Piano Keystrokes

Piano Keystrokes

Phandarian Project

|
1 install
| (0) | Free
Let your keystrokes produce piano notes.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🎹 Piano Keystrokes

Every keystroke produces a piano note. The same letter always produces the same note (scale mode), or you can set it up yourself through the key map.

Install

Search for Piano Keystrokes in the Extensions marketplace, or from VSIX:

npm install && npm run package
# then: Extensions → … → Install from VSIX

Mapping keyboard → notes

Settings → search for Piano Keystrokes, or Command Palette → Piano Keystrokes: Open Key Map Settings.

pianoKeys.mappingMode Perilaku
scale (default) Every keystroke enters the pentatonic / major / chromatic scale
qwerty Layout piano: Z X C V B N M = white keys, S D G H J = sharp
custom Only the characters in pianoKeys.keyMap that are played

Contoh pianoKeys.keyMap

{
  "a": "C4",
  "s": "D4",
  "d": "E4",
  "f": "F4",
  "g": "G4",
  "h": "A4",
  "j": "B4",
  "k": "C5",
  "w": "C#4",
  "e": "D#4"
}

The value can be a note name (C4, F#3, Bb4) or MIDI number (60).

In qwerty mode, the entry in keyMap overrides the default layout.

Commands

  • Piano Keystrokes: Toggle On/Off
  • Piano Keystrokes: Open Key Map Settings

Status bar right: icon Piano Keystrokes.

Other settings

  • pianoKeys.volume — 0–1
  • pianoKeys.scale — used when mappingMode = scale
npx vsce login irwanphan
npm run publish:vscode
# opsional Open VSX (Cursor/VSCodium):
npx ovsx publish -p <OVSX_TOKEN>

License

MIT

piano-keystrokes

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft