Where do i get the espeak functions to work along with pyhton

Asked by Paula on 2016-02-20

Hi, this is my first post here.
I'm coding in python and i've implemented espeak the only i could do so far is
from espeak import espeak

espeak.synth("Helo")

But i would like to configure its speech speed, try different voices, but i cant find the proper documentation. the only i've had found was the terminal commands documentation.

I hope you could help me. Thank you in advance

Question information

Language:
English Edit question
Status:
Answered
For:
python-espeak Edit question
Assignee:
No assignee Edit question
Last query:
2016-02-20
Last reply:
2016-02-22
Bhavana V (bhavana-v1) said : #1

espeak is very easy to use, but its default voice sounds very robotic....as you need to try some different voices and with various speeds , i suggest to use GoogleTTS .
The script comes with many options and does not speak, instead it saves to an mp3. We added a command to play the mp3 automatically
Eg:
os.system("mpg321 out.mp3 -quiet")

and run with

python gtts.py -s 'Python programming example'

The voice is extremely natural.
The only disadvantage is that you need to be connected with the Internet when running this script.

Can you help with this problem?

Provide an answer of your own, or ask Paula for more information if necessary.

To post a message you must log in.