Skip to content

Instantly share code, notes, and snippets.

@Dilden
Created July 3, 2016 06:27
Show Gist options
  • Save Dilden/4db9dc8224821690142ce653459a60bb to your computer and use it in GitHub Desktop.
Save Dilden/4db9dc8224821690142ce653459a60bb to your computer and use it in GitHub Desktop.
from espeak import espeak
import time
while True:
response = input(">> ")
espeak.synth(response)
time.sleep(1)
@Dilden
Copy link
Author

Dilden commented Jul 3, 2016

To install, make sure that the package espeak is installed. To install espeak, run:

sudo apt-get install espeak espeak-data

Then, to run the script, run

python3 scriptname.py

Idea taken from summer projects in Linux Voice 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment