An interactive guitar fretboard visualization tool for learning music theory, scales, and chord progressions.
Demo screenshot:
- Interactive guitar fretboard visualization
- Root note selector (all 12 notes)
- Major and minor scale modes
- Automatic chord progression display (diatonic chords in key)
- Note highlighting on the fretboard
- Chord modifier selector (maj7, 7, m7, 9ths, sus chords, etc.)
- Audio playback for scales and chords with guitar-like sound
- React 18.3.1
- Vite 5.4.2
- Node.js (v16 or higher recommended)
- pnpm (v10.11.0)
pnpm installpnpm devpnpm buildpnpm previewsrc/
├── App.jsx # Main application component
├── main.jsx # React entry point
├── utils/
│ ├── theory.js # Music theory utilities (scales, chords, intervals)
│ └── NoteAudioService.js # Web Audio API service for note playback
└── components/
├── Fretboard.jsx # Guitar fretboard visualization
├── FretboardHeader.jsx
├── StringRow.jsx
├── FretNote.jsx
├── RootSelector.jsx # Root note and mode selector
├── ScaleNotes.jsx
├── ChordGrid.jsx # Chord progression display
├── ChordCard.jsx # Individual chord card
└── ChordModifier.jsx # Chord extension options
MIT
