Add voice activation (VAD) and audio fade
- Add webrtcvad dependency for real-time voice activity detection - Create audio/fade.py with fade-in/fade-out utility - Add VAD voice activation to client recording (sends audio only during speech) - Apply 200ms fade-out to TTS output to avoid abrupt audio cuts - Fix tts.py indentation error in except block
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
fastapi
|
||||
uvicorn[standard]
|
||||
websockets
|
||||
webrtcvad
|
||||
|
||||
# Speech-to-Text
|
||||
faster-whisper
|
||||
|
||||
Reference in New Issue
Block a user