How kim-jeongwoo/graduation-project works
Vocal Fit is a mobile vocal-practice feedback system: singers record a song, receive pitch and vocal-technique analysis, then use weak-section training. The graph follows that user path through the app, API, and DML inference, while retaining song guidance, history, authentication, and range testing. Some subsystem links are documented in the README rather than visible in sampled callers; those edges are marked dashed. Training research and data-preparation scripts are excluded as supporting work, not runtime product components.
Main entry points: server.py DML inference API · main.py Vocal application API · client.ts API client · database.py Application database
Components 24
Mobile practice app
- App shell and navigation
vocal-app/src/navigation/AppNavigator.tsx - Authentication state
vocal-app/src/context/AuthContext.tsx - Song and pitch guide
vocal-app/src/api/songs.ts - Karaoke recording
vocal-app/src/screens/karaoke/KaraokeScreen.tsx - Session analysis flow
vocal-app/src/screens/home/SessionDetailScreen.tsx - Weak-section training
vocal-app/src/screens/home/TrainingScreen.tsx - Vocal range test
vocal-app/src/screens/onboarding/VocalRangeTestScreen.tsx - History and favorites
vocal-app/src/screens/history/HistoryScreen.tsx - API client
vocal-app/src/api/client.ts
Application backend
- Vocal application API
vocal-server/app/main.py - Auth routes
vocal-server/app/routers/auth.py - Session and training routes
vocal-server/app/routers/sessions.py - Analysis orchestration
vocal-server/app/services/analysis_service.py - Song catalog API
vocal-server/app/routers/songs.py
Vocal analysis
- DML inference API
dml-server/model_server/server.py - Audio analysis pipeline
dml-server/model_server/analysis_pipeline.py - EGG prediction
dml-server/model_server/predictor.py - Efficient EGG model
dml-server/ai-model/model/efficient_egg.py - Timeline analysis
dml-server/model_server/services/timeline_analysis.py - Realtime analysis
dml-server/model_server/services/realtime.py
User data
- Application database
vocal-server/app/database.py - Users, sessions, results
vocal-server/app/models/models.py
Other components
- Singer
- Admin operator
Connections 25
- Singer → App shell and navigation: uses
- App shell and navigation → Authentication state: provides state
vocal-app/App.tsx - App shell and navigation → Karaoke recording: routes to
vocal-app/src/navigation/AppNavigator.tsx - Karaoke recording → Song and pitch guide: loads guidance
vocal-app/src/screens/karaoke/KaraokeScreen.tsx - Karaoke recording → Session analysis flow: creates recording session
- Session analysis flow → API client: requests analysis
vocal-app/src/screens/home/SessionDetailScreen.tsx - Weak-section training → API client: submits chunk
- Vocal range test → API client: uses API
- History and favorites → API client: loads session data
- API client → Vocal application API: sends API requests
- Vocal application API → Auth routes: registers
vocal-server/app/main.py - Vocal application API → Session and training routes: registers
vocal-server/app/main.py - Vocal application API → Song catalog API: registers
vocal-server/app/main.py - Auth routes → Application database: queries
vocal-server/app/routers/auth.py - Session and training routes → Application database: queries and updates
vocal-server/app/routers/sessions.py - Session and training routes → DML inference API: forwards chunk
vocal-server/app/routers/sessions.py - Analysis orchestration → Application database: stores analysis
vocal-server/app/services/analysis_service.py - Analysis orchestration → DML inference API: requests inference
- Application database → Users, sessions, results: maps records
vocal-server/app/models/models.py - DML inference API → Audio analysis pipeline: runs analysis
dml-server/model_server/server.py - DML inference API → EGG prediction: runs prediction
dml-server/model_server/server.py - Audio analysis pipeline → Efficient EGG model: uses model
dml-server/model_server/analysis_pipeline.py - DML inference API → Timeline analysis: dispatches timeline
dml-server/model_server/server.py - DML inference API → Realtime analysis: dispatches realtime
dml-server/model_server/server.py - Admin operator → Vocal application API: uses admin API