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. |
||
|---|---|---|
| .. | ||
| dto | ||
| aliyun.py | ||
| aliyun_stream.py | ||
| baidu.py | ||
| base.py | ||
| doubao.py | ||
| doubao_stream.py | ||
| fun_local.py | ||
| fun_server.py | ||
| groq_whisper.py | ||
| openai.py | ||
| sherpa_onnx_local.py | ||
| tencent.py | ||