Created
March 27, 2014 19:53
-
-
Save ltddev/9816736 to your computer and use it in GitHub Desktop.
Text2Speech
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
import console | |
import speech | |
title = "Text 2 Speech" | |
message1 = 'This Text to Speech application will speak the words you enter.' | |
speech.say(message1, "en-US", 0.2) | |
message2 = "Enter the text you want me to say, then click the 'Speak it!' button" | |
speech.say(message2, "en-US", 0.2) | |
textToSpeak = console.input_alert(title, message2,"Hello!","Speak it!") | |
speech.say(textToSpeak, "en-US", 0.2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I successfully turned this app into a .ipa file (by exporting the Pythonista project for Xcode and then building the app in Xcode) that I installed on my jailbroken iPad 4.