Update Uptated-Prototype/TTS-Script-PiperTTS 2nd.py

This commit is contained in:
2025-12-03 15:51:23 -08:00
parent 7838a76108
commit b1e8383587

View File

@@ -33,7 +33,10 @@ first_chunk = next(chunks) # Get the first chunk to set up audio stream configur
try: try:
print(len(list(chunks))) # Print the amount of chunks count = 1
for chunk in chunks: # Play subsequent chunks of audio
count += 1
print(count) # Print the amount of chunks
except: except:
print("Failed getting Chunk Count") print("Failed getting Chunk Count")
try: try: