From 6e16d019cbfe0bda57e24b9f4a9efc56ee5fc244 Mon Sep 17 00:00:00 2001 From: fithwum Date: Wed, 3 Dec 2025 16:10:11 -0800 Subject: [PATCH] Update Uptated-Prototype/TTS-Script-PiperTTS 2nd.py --- Uptated-Prototype/TTS-Script-PiperTTS 2nd.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py b/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py index 0479dcb..cb53927 100644 --- a/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py +++ b/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py @@ -23,7 +23,7 @@ voice = PiperVoice.load(model) syn_config = SynthesisConfig( volume=0.5, # half as loud - length_scale=2.0, # twice as slow + length_scale=1.0, # twice as slow noise_scale=0.0, # more audio variation noise_w_scale=0.0, # more speaking variation normalize_audio=False, # use raw audio from voice @@ -56,7 +56,6 @@ stream.write(first_chunk.audio_int16_bytes) # Play the first chunk for chunk in chunks: # Play subsequent chunks of audio stream.write(chunk.audio_int16_bytes) - # Function called on Exit def Registered_Exit(): # Cleanup