diff --git a/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py b/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py index 891a868..2652e1a 100644 --- a/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py +++ b/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py @@ -33,9 +33,7 @@ chunks = voice.synthesize(texttospeak, syn_config=syn_config) # Set up Piper to first_chunk = next(chunks) # Get the first chunk to set up audio stream configuration try: - tempchunks = chunks - result = len(list(tempchunks)) - print(result) # Print the amount of chunks + print(first_chunk.sample_width) # Print the amount of chunks except: print("Failed getting Chunk Count") try: