xiaozhi-esp32-server/main/xiaozhi-server/core/handle
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
..
abortHandle.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
helloHandle.py fix: Improve ASR accuracy and eliminate phantom transcripts 2025-08-18 13:09:04 +05:30
intentHandler.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
receiveAudioHandle.py Increased Minimum Audio Chunks, and No more missing the beginning of actual speech (pre-buffer captures it) 2025-08-16 15:57:44 +05:30
reportHandle.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
sendAudioHandle.py tranlated to english server and mqtt folders 2025-08-13 23:24:43 +05:30
textHandle.py fix: Improve ASR accuracy and eliminate phantom transcripts 2025-08-18 13:09:04 +05:30