Skip to content

Instantly share code, notes, and snippets.


parzibyte/ Secret

Created Nov 11, 2020
What would you like to do?
import pyttsx3
engine = pyttsx3.init()
# Control the rate. Higher rate = more speed
engine.setProperty("rate", 150)
text = "Hola mundo. Este audio quedará guardado en un archivo"
output_file = "audio.mp3"
engine.save_to_file(text, output_file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment