Questions tagged [espeak]

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.

99 questions
306
votes
5 answers

How to hide output of subprocess in Python 2.7

I'm using eSpeak on Ubuntu and have a Python 2.7 script that prints and speaks a message: import subprocess text = 'Hello World.' print text subprocess.call(['espeak', text]) eSpeak produces the desired sounds, but clutters the shell with some…
rypel
  • 4,066
  • 2
  • 21
  • 33
16
votes
6 answers

Google's text-to speech engine voices?

Most of you probably know the text-to-speech synthesizer of google translate, as you can access programmatically here btw: http://translate.google.com/translate_tts?tl=en&q=text My impression was it's sometimes using espeak, but in the major…
7
votes
0 answers

How to programmatically send a unix socket command to a system server autospawned by browser or convert JavaScript to C++ souce code for Chromium?

Presently the implementation of the Web Speech API Specification by Chromium and Firefox does not support parsing Speech Synthesis Markup Language (SSML) when SSML is set at text property of SpeechSyntheisUtterance instance and passed to…
guest271314
  • 1
  • 10
  • 82
  • 156
6
votes
2 answers

How to use and import eSpeak in eclipse?

I am newbie in android dev. How can i import eSpeak to my android project and use it to read texts? Where can i download the eSpeak library? I just found : http://espeak.sourceforge.net/ https://github.com/rhdunn/espeak#android But Where is the…
user3214712
  • 263
  • 1
  • 2
  • 8
6
votes
2 answers

Espeak SAPI/dll usage on Windows?

Question: I am trying to use the espeak text-to-speech engine. So for I got it working wounderfully on linux (code below). Now I wanted to port this basic program to windows, too, but it's nearly impossible... Part of the problem is that the windows…
Stefan Steiger
  • 68,404
  • 63
  • 337
  • 408
4
votes
2 answers

Extending android TTS engine

Adding a new language to the existing TTS engine in android, May I modify the existing engine without starting from scratch? since the speech synthesis framework is somewhat done, maybe I can implement a TTS for my language according to that instead…
new coder
  • 303
  • 2
  • 20
4
votes
1 answer

Python: sequential calls to subprocess (in this case, espeak)

I was wondering if there was a way to access espeak as you might in the command line: laptop:~$espeak say this line first say this line second ... Right now, the only ways I can do it in python is process = subprocess.Popen(['espeak'],…
scarlet
  • 127
  • 7
4
votes
0 answers

How to use Espeak in my Android app?

I tried to do what the instructions say here: https://github.com/rhdunn/espeak#android But as I am in Win10, and use Android Studio 2.3, don't know how to do these things in Windows? (Isn't there any step-by-step instructions for windows?) Building…
user3486308
  • 1,776
  • 3
  • 25
  • 51
4
votes
2 answers

HOW-TO Make computer sing

I'm trying to develop an online application where the user writes some text and the software sings it back to the user. I can currently generate the audio file with the words spoken by the computer using espeak, but I have no idea how to make it…
Ofir
  • 101
  • 2
  • 5
4
votes
1 answer

Setting espeak_SetSynthCallback to member function in C++

My application makes heavy use of text-to-speech (through libespeak). It is written in C++/Qt5 with a QML-based frontend. I have no formal C++ training (I have a Java background though) and as such I'm not entirely sure how to properly implement…
4
votes
4 answers

How to use espeak with python

I want to use espeak(http://espeak.sourceforge.net) with python2.7.0-32 bit in windows7. Additionally, I also want to save the audio files generated by espeak.
steel
  • 41
  • 1
  • 1
  • 4
4
votes
2 answers

Is it possible to control the speed on eSpeak text to speech?

Is it possible to control the speed on eSpeak text to speech? And if possible - how to do it?
Wangzheng
  • 41
  • 1
  • 3
3
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…
WDR
  • 791
  • 5
  • 25
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
  • 3,166
  • 3
  • 34
  • 68
1
2 3 4 5 6 7