Created
October 3, 2015 21:23
-
-
Save sils/5e42f71cd611c5731b53 to your computer and use it in GitHub Desktop.
A script for speechless people to give them a voice
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
from subprocess import PIPE, check_output | |
import readline | |
while True: | |
sentence = input("Type something to speak: ") | |
check_output("echo \""+sentence+"\" | festival --tts", shell=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment