mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 18:23:59 +08:00
update: TTS复用链接,VAD双阈值判断 (#1742)
* update: TTS复用链接,VAD双阈值判断 * fix: 播放音乐时,引导词卡顿 * update:优化引导词 * update: 优化chat函数流程 优化huoshan处理 会话保持一致性 * fix: 等待时可能已经完成(设置为None),后续对None错误访问 * update:增加书名号 * fix: 打断状态未重置 监听未完成时服务端可能还在发送数据 此时复用链接会接收上个语音的残余 需要两者一同关闭 --------- Co-authored-by: hrz <1710360675@qq.com>
This commit is contained in:
@@ -326,6 +326,7 @@ VAD:
|
||||
SileroVAD:
|
||||
type: silero
|
||||
threshold: 0.5
|
||||
threshold_low: 0.3
|
||||
model_dir: models/snakers4_silero-vad
|
||||
min_silence_duration_ms: 200 # 如果说话停顿比较长,可以把这个值设置大一些
|
||||
|
||||
|
||||
Reference in New Issue
Block a user