From ea5e8068d87341c2f94880ff3e5c3c5efd490937 Mon Sep 17 00:00:00 2001 From: "DHR.Mike" Date: Wed, 3 Dec 2025 15:13:22 -0800 Subject: [PATCH] Update Uptated-Prototype/TTS-Script-PiperTTS 2nd.py --- Uptated-Prototype/TTS-Script-PiperTTS 2nd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py b/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py index c309970..c551dcd 100644 --- a/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py +++ b/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py @@ -29,7 +29,8 @@ syn_config = SynthesisConfig( ) chunks = voice.synthesize(texttospeak, syn_config=syn_config) # Set up Piper to stream audio from TextToSpeak -print(f"There are {len(chunks)} Chunks.") # Print the amount of chunks +Lenght = len(chunks) +print(f"There are {Lenght} Chunks.") # Print the amount of chunks first_chunk = next(chunks) # Get the first chunk to set up audio stream configuration try: