mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
working local
This commit is contained in:
parent
e381cf381b
commit
74e8fb0663
2 changed files with 1 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ async def handleAudioMessage(conn, audio):
|
|||
# Skip VAD/ASR processing when server is speaking (streaming audio to client)
|
||||
# This prevents interruptions during TTS playback
|
||||
if conn.client_is_speaking:
|
||||
conn.logger.bind(tag=TAG).debug("Server is speaking - skipping audio processing to prevent interruption")
|
||||
# conn.logger.bind(tag=TAG).debug("Server is speaking - skipping audio processing to prevent interruption")
|
||||
return
|
||||
|
||||
# Whether the current segment has someone speaking
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ class TTSProvider(TTSProviderBase):
|
|||
"pitch": 0,
|
||||
"emotion": "happy",
|
||||
}
|
||||
|
||||
default_pronunciation_dict = {
|
||||
"tone": ["处理/(chu3)(li3)", "危险/dangerous"]}
|
||||
default_audio_setting = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue