Skip to content

Instantly share code, notes, and snippets.

@KitWallace
Created August 17, 2012 22:12
Show Gist options
  • Save KitWallace/3383199 to your computer and use it in GitHub Desktop.
Save KitWallace/3383199 to your computer and use it in GitHub Desktop.
TTS interface
import subprocess
def speak (text):
command = "echo '" + text + "'| espeak -v en+m2 -m"
subprocess.call(command,shell=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment