Clean up config and STT naming

This commit is contained in:
Thales Maciel 2026-02-24 11:15:48 -03:00
parent b74aaaa1c4
commit 8c68719041
No known key found for this signature in database
GPG key ID: 33112E6833C34679
9 changed files with 42 additions and 98 deletions

View file

@ -2,9 +2,9 @@
## Project Structure & Module Organization
- `src/leld.py` is the primary entrypoint (X11 transcription daemon).
- `src/leld.py` is the primary entrypoint (X11 STT daemon).
- `src/recorder.py` handles audio capture using PortAudio via `sounddevice`.
- `src/transcription.py` wraps faster-whisper for transcription.
- `src/stt.py` wraps faster-whisper for STT.
## Build, Test, and Development Commands
@ -29,5 +29,5 @@
## Configuration Tips
- Audio input is controlled via `WHISPER_FFMPEG_IN` (device index or name).
- Model, language, device, and extra args can be set with `WHISPER_MODEL`, `WHISPER_LANG`, `WHISPER_DEVICE`, and `WHISPER_EXTRA_ARGS`.
- Audio input is configured via the `recording.input` field in `config.json`.
- STT model and device are configured via the `stt` section in `config.json`.