Created
September 20, 2013 15:48
-
-
Save amarvutha/6639592 to your computer and use it in GitHub Desktop.
Voice synthesis via Python
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 os, subprocess | |
os.chdir("c:/Program Files (x86)/eSpeak/command_line/") | |
speakString = "This parrot is no more. It has ceased to be. It's expired and gone to meet its maker. This is a late parrot. It's a stiff. Bereft of life, it rests in peace. If you hadn't nailed it to the perch, it would be pushing up the daisies. It's rung down the curtain and joined the choir invisible. This is an ex-parrot." | |
subprocess.call(["espeak","-ven+f5",`speakString`]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment