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

|
7 installs
| (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 plays a piano note while you code — kept inside one musical pattern (blues, dorian, …) so a line of code still sounds like one song, not random beeps.

Getting started

  1. Install / reload the window.
  2. Status bar (bottom right): Piano Keystrokes.
  3. Type in any editor.

Toggle: click the status bar item, or Piano Keystrokes: Toggle On/Off.

Musical patterns (default)

Default mode is pattern with blues1, rooted at octave 3 (warmer than C4).

Letters cycle the pattern degrees, so many keys share the same note on purpose. With vowelChords on, vowels (a e i o u) play a triad — e.g. typing function mixes single notes and chords, all in blues/dorian/etc.

pianoKeys.pattern Color
blues1 (default) Classic minor blues
blues2 Blues + major 6th
dorian Jazzy minor
aeolian Natural minor
mixolydian Major with flat 7
major Bright major
pentatonicMinor / pentatonicMajor Always consonant

Useful settings

Setting Default Meaning
pianoKeys.mappingMode pattern pattern | scale | qwerty | custom
pianoKeys.pattern blues1 Which “song color” to cycle
pianoKeys.baseOctave 3 Lower = less shrill
pianoKeys.octaveSpan 1 Keep range tight
pianoKeys.vowelChords true Vowels play chords
pianoKeys.volume 0.45 0–1
pianoKeys.keyMap {} Per-key overrides

Open via Piano Keystrokes: Open Key Map Settings.

Custom overrides (keyMap)

Same note on several keys, or force a chord on one key:

{
  "f": "C3",
  "n": "C3",
  "u": "C3,Eb3,G3",
  "o": "F3,Ab3,C4"
}

Format: note names (C3, F#3) or MIDI (48), comma-separated for chords. Overrides win over the pattern.

Other modes

  • qwerty — keyboard as a small piano (lower octave).
  • custom — only keys listed in keyMap sound.
  • scale — legacy per-character scale mapping.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft