-
-
Save parzibyte/5f83d6ddc7dceb34d487f6229ff61bca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
https://parzibyte.me/blog | |
""" | |
import pyttsx3 | |
engine = pyttsx3.init() | |
# Control the rate. Higher rate = more speed | |
engine.setProperty("rate", 150) | |
text = "Hola mundo. Visita parzibyte.me" | |
engine.say(text) | |
""" | |
Queue another audio | |
""" | |
another_text = "I like Python" | |
engine.say(another_text) | |
engine.runAndWait() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment