mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
- Fix audio length calculation to use WAV file metadata instead of PCM estimation - Implement comprehensive ASR logging system (CSV, JSON, TXT formats) - Disable audio file deletion for easier debugging - Add audio buffer clearing when VAD states reset - Implement echo suppression (100ms) to prevent speaker audio feedback - Add stale audio detection to skip leftover chunks after TTS - Clear ASR audio queue on VAD reset to prevent processing queued chunks - Add timestamp tracking for listen start events - Fix undefined send_initial_greeting function error │ │ These changes eliminate phantom transcripts like 'SHE', 'UP' that occurred when echo from the device's speaker was picked up by the microphone. |
||
|---|---|---|
| .. | ||
| api | ||
| handle | ||
| providers | ||
| utils | ||
| auth.py | ||
| connection.py | ||
| http_server.py | ||
| websocket_server.py | ||