Add audio generation config, refactor rep_announcer

- AudioConfig now includes rep_max_count and rep_audio_dir
- app/audio/generate.py uses config instead of hardcoded constants
- RepAnnouncer rewrote with pre-generated audio cache
- Supports Windows winsound, macOS afplay, Linux paplay/aplay
- Pin requirements back to mediapipe==0.10.21 with numpy<2
This commit is contained in:
2026-06-10 11:42:40 +08:00
parent 1f6c3f3de8
commit b45a8e2e85
5 changed files with 337 additions and 56 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
aiortc>=1.9.0
websockets>=13.0
opencv-contrib-python>=4.13.0.92
numpy>=2.4.6
opencv-contrib-python>=4.10.0
numpy>=1.26,<2
loguru>=0.7.0
mediapipe==0.10.35
mediapipe==0.10.21
pyttsx3>=2.99
pyyaml>=6.0