A beautiful web app that plays sequences of MIDI notes directly in your browser. Supports both MIDI numbers and note name notation, with 50+ instrument sounds.
- Flexible input — Enter MIDI numbers (
0–127), note names (C4,Eb5,F#3), or solfège (do,ré,sol#,solb3). Octave is optional and defaults to 4. Use any separator: commas, spaces, pipes, dashes, semicolons, or anything else. - 50+ instruments — Grand Piano (default), strings, brass, woodwinds, guitars, and more. Powered by SoundFont samples.
- Real-time validation — Each note is parsed and displayed as a token. Invalid notes are highlighted in red.
- Adjustable tempo & duration — Control playback speed (40–300 BPM) and note duration independently.
- Visual playback — See a progress bar and each note highlighted as it plays.
- Keyboard shortcuts — Press
Spaceto play/stop,Escapeto stop. - Für Elise built-in — One-click demo with Beethoven's classic opening theme.
| Format | Example |
|---|---|
| MIDI numbers | 60, 64, 67, 72 |
| Note names | C4 E4 G4 C5 |
| Note names (no octave) | C E G (defaults to octave 4) |
| Solfège | do mi sol |
| Solfège with octave | do4 mi4 sol4 |
| Solfège with accidentals | solb3, sol#4, sold4 (d = dièse) |
| Mixed | C4, 64, sol, 72 |
| Any separator | 60|64|67 or 60-64-67 or 60;64;67 |
| Accidentals | Eb5, F#3, Db4, C##4, Bbb3 |
- Node.js 18+ and npm
# Install dependencies
npm install
# Start dev server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewThis project includes a GitHub Actions workflow that automatically builds and deploys to GitHub Pages on every push to main.
- Go to your repository Settings → Pages
- Under Source, select GitHub Actions
- Push to
main— the site will deploy automatically
The live URL will be: https://<your-username>.github.io/MIDI-Notes-Player/
- Vite — Fast build tool
- soundfont-player — SoundFont instrument playback via Web Audio API
- Vanilla JavaScript — No frameworks, just clean JS/HTML/CSS