xiaozhi-esp32-server/main/xiaozhi-server/core/providers/asr
rahulpscraftech360 3371c45608 fix: Improve ASR accuracy and eliminate phantom transcripts
- 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.
2025-08-18 13:09:04 +05:30
..
dto tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
aliyun.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
aliyun_stream.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
baidu.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
base.py fix: Improve ASR accuracy and eliminate phantom transcripts 2025-08-18 13:09:04 +05:30
doubao.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
doubao_stream.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
fun_local.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
fun_server.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
groq_whisper.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
openai.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
sherpa_onnx_local.py fix: Improve ASR accuracy and eliminate phantom transcripts 2025-08-18 13:09:04 +05:30
tencent.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30