How nikeshjs/guitar-tab-generator works
Guitar Tab Identifier is a desktop app that turns selected guitar audio into MIDI, ASCII tablature, and PDF, with optional reference-based metrics. The main workflow runs from the GUI through note estimation, simultaneous-note grouping, fingering assignment, and rendering. A separate dataset/evaluation branch supports GuitarSet annotations and aggregate evaluation. The graph follows documented orchestration and sampled calls; it omits uncertain internal wiring and does not treat configuration imports as runtime calls.
Main entry points: pipeline.py Pipeline orchestration · main.py Desktop GUI · pitch_estimation.py Pitch estimation · tab_mapping.py Fingering mapping
Components 14
Desktop app
- Desktop GUI
main.py
Transcription
- Pipeline orchestration
src/pipeline.py - Pitch estimation
src/pitch_estimation.py - Note grouping
src/pitch_estimation.py - Fingering mapping
src/tab_mapping.py - Tab and PDF rendering
src/rendering.py - MIDI intermediate
src/pitch_estimation.py - Tab text and PDF
src/rendering.py
Evaluation
- GuitarSet and JAMS
src/dataset.py - Evaluation metrics
src/evaluate.py
Configuration
- Paths and tuning
src/config.py
Other components
- User
- Audio file
- JAMS reference
Connections 13
- User → Desktop GUI: selects inputs
main.py - Audio file → Desktop GUI: selected as input
main.py - JAMS reference → Desktop GUI: optional selection
main.py - Desktop GUI → Pipeline orchestration: starts transcription
main.py - Pipeline orchestration → Pitch estimation: estimates notes
src/pipeline.py - Pitch estimation → MIDI intermediate: writes MIDI
src/pitch_estimation.py - Pipeline orchestration → Note grouping: groups notes
src/pipeline.py - Pipeline orchestration → Fingering mapping: maps fingerings
src/pipeline.py - Pipeline orchestration → Tab and PDF rendering: renders and saves
src/pipeline.py - Pipeline orchestration → Tab text and PDF: writes text and PDF
src/pipeline.py - Pipeline orchestration → GuitarSet and JAMS: loads reference notes
src/pipeline.py - Pipeline orchestration → Evaluation metrics: computes metrics
src/pipeline.py - Pipeline orchestration → Desktop GUI: returns results
main.py