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
0
votes
1 answer
TypeError: argument of type 'int' is not iterable upon incorrect speech recognition
I'm working on a TTS/STT system for a school project and it was going well until I started getting this specific error whenever the code ran through the "Google Speech Recognition Does not recognize what you said" bit. I am unsure of why I get this…

Daximus
- 1
0
votes
1 answer
How do I fix This alsa error with the espeak command utility
I am running parrotsec linux in a virtual machine (VMWare Workstation 16 Pro) and am trying to run espeak to use tts, the command is:
espeak "hello"
I have been troubleshooting this and I haven't gotten anywhere,
the error message I am getting…

D3D_M4N
- 35
- 5
0
votes
2 answers
I get the following error in console when I try to install python-espeak
ERROR: Command errored out with exit status 1:
command: 'C:\Users\carli\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] =…

Carlos Valdes
- 1
- 1
0
votes
0 answers
I'm trying to create a speak app but i got error as Segmentation fault
I'm trying to build text speaking app with Python. Here this is my code:
import pyttsx3
import PyPDF2
book=open("LifesAmazingSecets.pdf",'rb')
pdfReader=PyPDF2.PdfFileReader(book)
pages=pdfReader.numPages
print(pages)
engine =…
user13743271
0
votes
0 answers
aplay sound test and espeak setup
I am using the 2020-05 raspbian image and have headphones plugged-in to the raspberry pi 3b+.
Following this tutorial, I tried to test my sound with aplay /usr/share/sounds/alsa/* and heard "Front Center" with the following output
Playing WAVE…

Julie Anne Moore
- 27
- 10
0
votes
0 answers
espeak-ng cross compile make install issue
I am trying to cross compile espeak-ng for target=arm-linux-gnueabihf
The sudo make install step gives the following error :
~:~/Downloads/Dependencies/espeak-ng-master$ sudo make install
[sudo] password for abc:…

Simran Kaur
- 1
- 1
0
votes
2 answers
shows error " sh: 1: Syntax error: Unterminated quoted string " in python
#!/usr/bin/env python3
from os import system
def playSong():
message = "it's time to drink water and, take a rest for some minutes."
#filepath = "/home/leader/Downloads/anywhere.mp3"
system("espeak '" + message + "'")
playSong()
while…

gaurav devkota
- 13
- 3
0
votes
1 answer
espeak skips the first phoneme of the sentence
I am trying to use espeak for text to speech on a respeaker core v2.
If my sentence is "Begin Recording", then espeak only speaks "egin Recording". It occasionally says it correctly. How do I fix this?
I tried adding some random characters ahead of…

user3797806
- 51
- 1
- 4
0
votes
1 answer
Using Espeak with os in python
When I open up my command prompt, i am able to type espeak and then the text i want to be said, however when i try to do this through my python code using os it says
'espeak' is not recognized as an internal or external command,
operable program…

Mark.B
- 31
- 1
- 5
0
votes
0 answers
Audio not working for rails app on heroku
I am using espeak-ruby gem on my rails app and it is working fine on my local machine. When I deployed to heroku, the app did not work because there was no espeak installed on heroku. Then I used the build-buildpack-apt to install espeak on heroku.…

gsumk
- 809
- 10
- 15
0
votes
3 answers
Is it possible to use say-command line in linux terminal? (not espeak)
i'm trying to search for the best tts. and finally I found that say command in mac-os terminal is the most natural speaker engine.
but I want to use it in my linux OS.(Ubuntu or manjaro)
Is it any way to use it in linux?
I EMPHASIS that I don't want…

Amin
- 421
- 5
- 7
0
votes
1 answer
How to run Espeak and Pocketsphinx simultaneously?
I am trying to run Pocketsphinx together with Espeak, so that when a word is recognized it answers back with text to speech.
I have gotten both to work in this sketch, but once Pocketsphinx is running Espeak stops working. No error, just no…

user3383518
- 13
- 5
0
votes
1 answer
trying to edit tts package in aeneas python
I started working with aeneas for python, I'm running the code on an ubuntu machine
I wanted to change the default tts -espeak- to another tts like macos
$python -m aeneas.tools.execute_task\
ara.mp4 ara.xml\…

M Ezzat
- 11
- 2
0
votes
1 answer
How to use espeak_EVENT_TYPE;
I am looking a way to know when espeak ended it's speaking. Somebody told use the espeakEVENT_MSG_TERMINATED. But when I try to put this part to my code it gives me this error:
#include
espeak_EVENT_TYPE;
if(…

Hasani
- 3,543
- 14
- 65
- 125
0
votes
1 answer
How to find if espeak ended the speech?
I want to use espeak in my program. I'd like to know when espeak stops speaking. Are there any flags or functions to check?
Let's consider this is my program:
Line 1
espeak
Line 2
When I execute this code, espeak starts to say "hello, this is…

Hasani
- 3,543
- 14
- 65
- 125