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

This commit is contained in:
2025-11-08 16:30:41 -08:00
parent 977eca1a70
commit fb0d0dcb57

View File

@@ -1,7 +1,7 @@
# Theoretical Upgrade Test # Theoretical Upgrade Test
from piper.voice import PiperVoice # Backbone of text to speech from piper.voice import PiperVoice # Backbone of text to speech
import pyaudio import pyaudio
import os # import os
# print(os.popen('xsel').read()) # In Theory grab selected text and print ot to terminal # print(os.popen('xsel').read()) # In Theory grab selected text and print ot to terminal
texttospeak = "Welcome to the world of speech synthesis! This is an example of text-to-speech using Piper TTS." #os.popen('xsel').read() # In Theory grab selected text into Varible cakked TextToSpeak texttospeak = "Welcome to the world of speech synthesis! This is an example of text-to-speech using Piper TTS." #os.popen('xsel').read() # In Theory grab selected text into Varible cakked TextToSpeak