Update Uptated-Prototype/TTS-Script-PiperTTS 2nd.py
This commit is contained in:
@@ -33,7 +33,10 @@ first_chunk = next(chunks) # Get the first chunk to set up audio stream configur
|
||||
|
||||
|
||||
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:
|
||||
print("Failed getting Chunk Count")
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user