How wes10645/guitarbob works
GuitarBob is an AI guitar tutor with two main workflows: upload a song for chord, tab, and note-highway analysis, then practice the result; or play guitar live and view detected notes. Its frontend also offers chord-learning, tuner UI, and character customization. The backend routes uploads through conversion and analysis, while the React app provides the learning and visualization experiences. Arrows follow sampled code or README statements; some frontend/backend and unsampled subsystem links remain unverified.
Main entry points: App.jsx App routing · main.py FastAPI service · Practice.jsx Note practice · Chords.jsx Chord library
Components 23
Tutor frontend
- App routing
src/App.jsx - Song upload
src/pages/Upload.jsx - Analysis results
src/pages/Results.jsx - Character and XP state
src/context/CharacterContext.jsx - Character shop
src/pages/CharacterShop.jsx
Practice and learning
- Note practice
src/pages/Practice.jsx - Practice visualizers
src/components/PracticeVisualizer/PracticeVisualizer.jsx - Guitar fretboard
src/components/GuitarHeroFretboard.jsx - Chord library
src/pages/Chords.jsx - Chord detail
src/pages/ChordDetail.jsx - Chord diagrams
src/components/ChordDiagram.jsx - Tuner UI
src/pages/Tuner.jsx
Song analysis backend
- FastAPI service
backend/main.py - Audio conversion
backend/dsp/audio_io.py - Chord analysis
backend/dsp/analyze_song.py - Chord detection
backend/dsp/chords.py - Onset note detection
backend/dsp/note_detection.py - Note highway generation
backend/dsp/note_highway.py - Chord tab generation
backend/dsp/chord_tabs.py
Live audio
- Live transcription UI
src/pages/LiveTranscribe.jsx - Live note display
src/components/LiveDetectedNotes.jsx - Live pitch stream
backend/dsp/live_listen.py
Other components
- Guitar learner
Connections 30
- Guitar learner → App routing: opens
src/App.jsx - App routing → Song upload: routes to
src/App.jsx - App routing → Analysis results: routes to
src/App.jsx - App routing → Note practice: routes to
src/App.jsx - App routing → Chord library: routes to
src/App.jsx - App routing → Chord detail: routes to
src/App.jsx - App routing → Tuner UI: routes to
src/App.jsx - App routing → Character shop: routes to
src/App.jsx - App routing → Live transcription UI: routes to
src/App.jsx - Guitar learner → Song upload: submits audio
README.md - Song upload → FastAPI service: uploads file
README.md - FastAPI service → Audio conversion: converts upload
backend/main.py - FastAPI service → Chord analysis: analyzes audio
backend/main.py - FastAPI service → Note highway generation: builds highway
backend/main.py - FastAPI service → Onset note detection: detects notes
backend/main.py - FastAPI service → Chord tab generation: builds tabs
backend/main.py - Chord analysis → Chord detection: uses detection
backend/dsp/analyze_song.py - FastAPI service → Analysis results: returns analysis
README.md - Analysis results → Note practice: passes song data
src/pages/Practice.jsx - Note practice → Practice visualizers: renders practice
src/pages/Practice.jsx - Note practice → Guitar fretboard: renders notes
src/pages/Practice.jsx - Chord library → Chord detail: opens chord
- Chord detail → Chord diagrams: renders diagram
src/pages/ChordDetail.jsx - Live transcription UI → Live note display: shows notes
README.md - Live transcription UI → FastAPI service: connects WebSocket
README.md - FastAPI service → Live pitch stream: streams events
backend/main.py - Note practice → Live note display: uses live notes
src/pages/Practice.jsx - Character shop → Character and XP state: reads character state
src/pages/CharacterShop.jsx - App routing → Character and XP state: provides state
src/App.jsx - Chord library → Chord diagrams: shows diagrams
README.md