How imxder/chordai works
ChordAI is a Flutter guitar-learning app whose documented headline feature is real-time chord recognition backed by a Python/TensorFlow/Librosa service. The tree also shows practice, tuner, chord-list, lyric-sheet, score, achievement, and settings areas, plus local score and lyric assets. Dart implementation details were not sampled, so internal screen-to-service relationships are shown only as unverified dashed links; no Python backend source is present in the tree. The Windows runner is included as the Flutter host, not as a product feature.
Main entry points: main.dart App entry · flutter_window.cpp Flutter window · lyric_sheet_library.dart Lyric library · chord_practice_screen.dart Chord practice
Components 26
Flutter app
- App entry
lib/main.dart - App state
lib/state/app_state.dart - Settings
lib/screens/settings_screen.dart - Achievements
lib/screens/achievements_screen.dart
Learning content
- Chord list
lib/screens/chord_list_screen.dart - Chord practice
lib/screens/chord_practice_screen.dart - Practice session
lib/screens/practice_session_screen.dart - Score library
lib/services/score_library.dart - Score assets
assets/scores - Lyric library
lib/services/lyric_sheet_library.dart - Lyric sheets
lib/screens/lyric_sheet_list_screen.dart - Lyric view
lib/screens/lyric_sheet_screen.dart - Lyric assets
assets/lyrics
Audio tools
- Chord recognition
lib/services/chord_recognition_service.dart - Chord prediction
lib/models/chord_prediction.dart - Tuner screen
lib/screens/tuner_screen.dart - Tuner service
lib/services/tuner_service.dart - Pitch detector
lib/services/pitch_detector.dart - Metronome
lib/widgets/metronome.dart - Guitar neck
lib/widgets/guitar_neck.dart
Platform host
- Windows runner
windows/runner/main.cpp - Flutter window
windows/runner/flutter_window.cpp - Win32 window
windows/runner/win32_window.cpp - Plugin registrar
windows/flutter/generated_plugin_registrant.cc
Other components
- Learner
- Recognition backend
Connections 21
- Learner → App entry: uses
README.md - App entry → Chord list: opens
- App entry → Chord practice: opens
- App entry → Practice session: opens
- App entry → Lyric sheets: opens
- App entry → Tuner screen: opens
- App entry → Settings: opens
- App entry → Achievements: opens
- Chord practice → Chord recognition: uses
- Chord recognition → Recognition backend: sends audio
README.md - Recognition backend → Chord prediction: returns prediction
- Tuner screen → Tuner service: uses
- Tuner service → Pitch detector: uses
- Lyric sheets → Lyric library: loads
- Lyric view → Lyric library: loads
- Score library → Score assets: loads
- Lyric library → Lyric assets: loads
- Learner → Windows runner: launches
- Windows runner → Flutter window: creates
windows/runner/main.cpp - Flutter window → Win32 window: inherits
- Flutter window → Plugin registrar: registers plugins
windows/runner/flutter_window.cpp