A free speech synthesizer available for *nix and Windows which has bindings for several programming languages, including Python, JavaScript, Lua and Go. It accepts Speech Synthesis Markup Language (SSML) and phonetic representations.
Questions tagged [espeak]
105 questions
3
votes
3 answers
pyttsx and gTTS module errors
windows 10-64bit
I'm trying to use some text-to-speech tool to read text from lines of .txt document, something like this:
so with pyttsx:
import pyttsx
engine = pyttsx.init()
engine.say('my voice')
engine.runAndWait()
I got this error:…
user6067640
3
votes
1 answer
How to use python Popen with a espeak and aplay
I'm trying to call
espeak -ves -s130 'HEY' --stdout | aplay -D 'sysdefault'
through subprocess.Popen, with
espeak_process = Popen(["espeak", "-ves -s100 'HEY' --stdout"], stdout=subprocess.PIPE)
aplay_process = Popen(["aplay", "-D 'sysdefault'"],…

GWorking
- 4,011
- 10
- 49
- 90
2
votes
0 answers
Is there a way to bundle two installers in one?(especially for python programs)
I'm trying to create a program using text-to-speech in python and want to create a windows application out of it. I'm trying to bundle the software with the espeak text to speech engine to provide the users with more voices and languages. Looking…

booperdooper64
- 31
- 3
2
votes
2 answers
Converting from C: fputc and fwrite in C#?
Question: In order to write a C# interface to libespeak, I need to convert the callback SynthCallback to C#.
See the below C code.
You might need this for…

Stefan Steiger
- 78,642
- 66
- 377
- 442
2
votes
1 answer
Why my espeak-ng program doesn't say anything?
I want to pass a string to espeak-ng and it reads my string by sound!
I searched and found this program and did a little modification to change it to English from Italian(under the commented lines), but didn't work:
#include
#include…

Hasani
- 3,543
- 14
- 65
- 125
2
votes
1 answer
Undifined reference to espeak-ng headers in Ubuntu
I have downloaded espeak-ng 1.1.49 and ./configure make make install it, and tested it by espeak --stdout "this is a test" | paplay successfully and it worked. Then I tried to use it inside my C++ code(testSpeak.cpp) that I found on the internet as…

Hasani
- 3,543
- 14
- 65
- 125
2
votes
1 answer
Subprocess.call and --stdout
subprocess.call(["espeak", "-s 5 -ven", "where are you", "--stdout", 'shell=True', "aplay"])
The output of this will just be a massive output of special characters, and not the audio from the espeak. When i type this:
subprocess.call(["espeak", "-s…

sam
- 115
- 2
- 10
2
votes
0 answers
Espeak only works the first time a Flask view runs
I have a view which takes text from a form and uses python-espeak to turn the input into speech. This only works the first time the view is used, afterwards espeak does not produce anything. I think the issue is with espeak not resetting somehow,…

zigarot
- 21
- 2
2
votes
3 answers
Running a command that is stored in a variable (including pipes and redirects)
I'm writing a script that functions as a "talking terminal" (you type in commands and it says the output) and so far my code is:
#!/bin/bash
while [ 1=1 ]; do
echo -n "~>"
read COMMAND
espeak "$($COMMAND)"
done
and it works for simple…

MartinUbuntu
- 347
- 2
- 5
2
votes
2 answers
How to play a dynamic string with espeak in python
I am using the espeak library for text to speech conversion.I am able to generate a dynmic sound from a string to do this.
os.system('espeak "hello"')
This works. But what i need is to generate sound from a string. This is what i…

slaveCoder
- 519
- 2
- 17
- 46
2
votes
1 answer
Phonemes in eSpeak TextToSpeech in Android
I am working on an application in which i would like to use TTS to read text. I want to support Indian Languages offline so i have installed eSpeak Text To Speech engine in my android device and have set it as default. After understanding Speech…

Udit Shah
- 241
- 2
- 14
2
votes
0 answers
Development of TTs System using Flite
I am developing android application for illiterate people. One of the feature of this application is to read the text that application produces. So I am in need of the Text To Speech System. I found some of the Frameworks that suits me theoritically…

rughimire
- 374
- 1
- 5
- 16
2
votes
4 answers
how to run espeak from php in linux
I am running the espeak from linux in terminal which is working completely fine.
My problem is that i want to run the espeak from php(in xampp).
but that is not working.and is not producing any sound
where…

sumit
- 3,210
- 1
- 19
- 37
2
votes
1 answer
Hide (eSpeak) command prompt using Firefox
This is probably a stupid question. Firefox is rather rigid, as Internet Explorer is to be known to activate virusses without a problem.
But for my English classes I need eSpeak without the command screen. The program is run local, but I use HTML…

Dinosaur_programmer
- 21
- 1
1
vote
4 answers
Speak.js – only one command is executed
I'm currently fooling around with speak.js: http://www.syntensity.com/static/espeak.html
Apparently the script only allows for one speak command to be executed, if I do like this:
speak("1");
speak("2");
... only "2" is read out.
Does anybody know…

timkl
- 3,299
- 12
- 57
- 71