mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
feat: silero
This commit is contained in:
parent
b63d3f4e81
commit
d96c4b7736
2 changed files with 3 additions and 3 deletions
|
|
@ -317,7 +317,7 @@ class VADStream(ABC):
|
|||
asr_input_queue.put_nowait(asr_message)
|
||||
|
||||
logger.bind(tag=TAG).info(
|
||||
f"ASR LAST message sent: total_speech={event.speech_duration:.2f}s, "
|
||||
f"ASR LAST message sent: total_speech={event.speech_duration:.0f}ms, "
|
||||
f"audio={asr_message.audio_duration_ms:.0f}ms"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -567,8 +567,8 @@ TTS:
|
|||
# ============================= Module Selection ================================
|
||||
# ===============================================================================
|
||||
selected_module:
|
||||
VAD: FsmnVAD
|
||||
# VAD: SileroVAD
|
||||
# VAD: FsmnVAD
|
||||
VAD: SileroVAD
|
||||
TurnDetection: TenTurnDetection # Set to TenTurnDetection to enable
|
||||
ASR: GroqASR
|
||||
# ASR: ByteplusStreamASR
|
||||
|
|
|
|||
Loading…
Reference in a new issue