Update Uptated-Prototype/TTS-Script-PiperTTS.py
This commit is contained in:
@@ -35,6 +35,7 @@ stream.write(first_chunk.audio_int16_bytes) # Play the first chunk
|
|||||||
|
|
||||||
for chunk in chunks: # Play subsequent chunks of audio
|
for chunk in chunks: # Play subsequent chunks of audio
|
||||||
stream.write(chunk.audio_int16_bytes)
|
stream.write(chunk.audio_int16_bytes)
|
||||||
|
time.sleep(2)
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
stream.stop_stream()
|
stream.stop_stream()
|
||||||
|
|||||||
Reference in New Issue
Block a user