How siro098/notesmith works
Notesmith is a local-first music-score library and practice app for ensembles. Musicians import and organize PDF scores, open them in a reader to annotate or navigate setlists, and use the metronome or memorization trainer to practice; IndexedDB keeps scores and related data on-device, with backup and restore. The graph follows the sampled app composition and documented features. Some feature-to-storage links are not shown in the excerpts, so they are omitted rather than inferred.
Main entry points: App.tsx App shell · TrainerView.tsx Memorization trainer · main.tsx Web app entry · ScoreReader.tsx Score reader
Components 19
App and experience
- Web app entry
src/main.tsx - App shell
src/App.tsx - Language context
src/i18n.tsx - Responsive viewport
src/utils/useViewport.ts - License information
src/data/thirdPartyLicenses.ts
Scores and performances
- PDF library
src/components/LibraryView.tsx - Score reader
src/components/ScoreReader.tsx - Setlists
src/components/SetlistsView.tsx - PDF processing
src/utils/pdfService.ts
Practice tools
- Metronome controls
src/components/MetronomePanel.tsx - Audio metronome
src/audio/metronomeEngine.ts - Memorization trainer
src/components/TrainerView.tsx - Staff detection
src/utils/staffDetector.ts - Spaced repetition
src/utils/srs.ts
Local data and platform
- Local IndexedDB
src/db.ts - Domain data types
src/types.ts - ID generation
src/utils/id.ts - Android host
android/app/src/main/java/com/liebl/notesmith/MainActivity.java
Other components
- Musician
Connections 26
- Musician → Web app entry: opens app
README.md - Web app entry → App shell: renders
src/main.tsx - Web app entry → Language context: provides language
src/main.tsx - App shell → PDF library: renders
src/App.tsx - App shell → Score reader: renders
src/App.tsx - App shell → Setlists: renders
src/App.tsx - App shell → Memorization trainer: renders
src/App.tsx - App shell → Metronome controls: renders
src/App.tsx - App shell → Local IndexedDB: reads and updates
src/App.tsx - App shell → PDF processing: extracts previews
src/App.tsx - App shell → ID generation: creates IDs
src/App.tsx - App shell → Responsive viewport: uses viewport
src/App.tsx - App shell → License information: displays licenses
src/App.tsx - Metronome controls → Audio metronome: controls
src/components/MetronomePanel.tsx - Score reader → Local IndexedDB: loads and saves annotations
src/components/ScoreReader.tsx - Score reader → PDF processing: loads score pages
src/components/ScoreReader.tsx - Memorization trainer → Local IndexedDB: loads study data
src/components/TrainerView.tsx - Memorization trainer → PDF processing: loads score pages
src/components/TrainerView.tsx - Memorization trainer → Staff detection: requests detection
src/components/TrainerView.tsx - Memorization trainer → Spaced repetition: reviews cards
src/components/TrainerView.tsx - Memorization trainer → Score reader: loads sheet theme
src/components/TrainerView.tsx - Staff detection → PDF processing: loads PDF
src/utils/staffDetector.ts - Staff detection → Spaced repetition: builds study cards
src/utils/staffDetector.ts - Spaced repetition → ID generation: creates card IDs
src/utils/srs.ts - Local IndexedDB → Domain data types: stores typed records
src/db.ts - Android host → Web app entry: hosts app
README.md