How by-hahn/music-recognition-app works
This is a Tkinter desktop music-recognition app. The main workflow is: a user starts recognition, the app records microphone audio, sends it to AudD, enriches a match with Spotify metadata, then displays and saves the result. My Page presents saved history in list and calendar views; the app also synchronizes themes across windows and seeds/reveals a first-run mystery entry. The graph follows documented capabilities where implementation excerpts are incomplete; edges are limited to relationships visible in excerpts or stated in the README.
Main entry points: main_window.py App coordinator · search_window.py Result window · mypage_window.py History views · database.py SQLite history
Components 16
Recognition
- App coordinator
ui/main_window.py - Audio capture
ui/main_window.py - AudD recognition
music_api.py - Spotify metadata
music_api.py
Results and history
- Result window
ui/search_window.py - SQLite history
database.py - Daily JSON logs
database.py - History views
ui/mypage_window.py
Window presentation
- Theme system
theme.py - Analog clock
ui/analog_clock.py
Personal touches
- Mystery entry seed
easter_egg.py - Mystery entry reveal
easter_egg_popup.py
Other components
- User
- Microphone
- Music APIs
- Web browser
Connections 19
- User → App coordinator: starts search
README.md - App coordinator → Audio capture: starts capture
ui/main_window.py - Microphone → Audio capture: provides audio
README.md - Audio capture → AudD recognition: sends recording
ui/main_window.py - AudD recognition → Music APIs: identifies track
README.md - App coordinator → Spotify metadata: fetches details
ui/main_window.py - Spotify metadata → Music APIs: queries track
README.md - App coordinator → Result window: opens result
ui/main_window.py - Result window → SQLite history: saves result
ui/search_window.py - Result window → Daily JSON logs: saves result
README.md - User → History views: opens history
README.md - History views → Daily JSON logs: reads history
ui/mypage_window.py - History views → SQLite history: queries dates
ui/mypage_window.py - App coordinator → Theme system: toggles theme
ui/main_window.py - Theme system → Analog clock: updates appearance
theme.py - SQLite history → Mystery entry seed: seeds on setup
database.py - History views → Mystery entry reveal: checks selected entry
ui/mypage_window.py - Mystery entry reveal → Web browser: opens bonus link
easter_egg_popup.py - Result window → Web browser: opens track links
ui/search_window.py