Add supports_synthesize_streaming=True to TtsProgram
All checks were successful
Build ROCm Image / build (push) Successful in 4m56s
All checks were successful
Build ROCm Image / build (push) Successful in 4m56s
Without this flag HA buffers all audio until AudioStop before forwarding to the media player. With it, HA streams AudioChunk events to the player as they arrive, so playback starts on the first chunk rather than after the full text is synthesized. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -95,6 +95,7 @@ def create_wyoming_info(sample_rate: int, voices: Dict[str, str]) -> Info:
|
||||
installed=True,
|
||||
voices=tts_voices,
|
||||
version="1.0",
|
||||
supports_synthesize_streaming=True,
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user