How san2003m/whsiper-atc works
Whisper-ATC is an ATC voice-recognition assistant. Its main workflow records audio on a desktop client, uploads it to a Flask service, transcribes it with the fine-tuned Whisper model, and stores the transcript and audio path in MariaDB. The README also documents web-based record viewing and statistics, but the corresponding implementation is not present in the sampled source; those capabilities are represented as documented functionality, not inferred routes. The graph focuses on evidenced runtime links.
Main entry points: web.py Background processing · recorder.py Recorder client · dummy_uploader.py File uploader · db_query.py MariaDB writer
Components 14
Audio capture
- Recorder client
record/recorder.py - File uploader
record/dummy_uploader.py - Recorded audio
Upload and processing
- Upload endpoint
server/web.py - Uploaded audio
server/web.py - Background processing
server/web.py - Fine-tuned Whisper
Transcript storage
- ATC transcript
server/web.py - MariaDB writer
server/db_query.py - Record DB helper
record/db_query.py - MariaDB
Web access
- Record viewing
server - Statistics view
server
Other components
- ATC operator
Connections 15
- ATC operator → Recorder client: records with
README.md - Recorder client → Recorded audio: writes audio
record/recorder.py - Recorder client → Upload endpoint: uploads audio
record/recorder.py - ATC operator → File uploader: selects audio
record/dummy_uploader.py - File uploader → Upload endpoint: uploads file
record/dummy_uploader.py - Upload endpoint → Uploaded audio: saves file
server/web.py - Upload endpoint → Background processing: starts thread
server/web.py - Background processing → Uploaded audio: processes file
server/web.py - Background processing → Fine-tuned Whisper: transcribes with
server/web.py - Background processing → ATC transcript: produces text
server/web.py - Background processing → MariaDB writer: calls writer
server/web.py - MariaDB writer → MariaDB: inserts row
server/db_query.py - Record DB helper → MariaDB: writes SQL
record/db_query.py - MariaDB → Record viewing: provides stored records
README.md - Record viewing → Statistics view: offers statistics
README.md