Add device-aware audio input, calibration/test modes, and guided start.sh
- Open input devices at a supported native sample rate and resample to 16 kHz in software (fixes 'Invalid sample rate' with webcams/USB mics) - Lower default SILENCE_RMS to 800, add --agc, make all segmentation thresholds CLI-configurable, load/save them via calibration.json - Add --calibrate (measures room noise vs. speech, recommends threshold) and --test (end-to-end mic + Groq ASR + translation gate, exit 0 on pass) - Add --list-devices-json for machine-readable device listing - Add start.sh: venv setup, interactive device picker, optional calibration, test gate before live mode, kiosk-mode browser launch - Add requirements.txt; document installation and running in README Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
sounddevice
|
||||
numpy
|
||||
requests
|
||||
python-dotenv
|
||||
Reference in New Issue
Block a user