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
0
votes
1 answer

subprocess.call can not send stdout to ffmpeg

My code is python. It call espeak command to generate .wav audio. Then call ffmpeg to convert wav to mp3. But this command can not send stdout from espeak to ffmpeg via subprocess.call of python: espeak -f myfile --stdout | ffmpeg -i -…
Bonn
  • 165
  • 11
0
votes
1 answer

Convert python espeak + subprocess code to play output audio directly

I'm using an existing program that reads xml from a socket, converts text to a wav file and then plays it over the audio output device. I'd like to strip it down so it just plays the text direct to audio. Right now I'm having a difficult time…
dbmitch
  • 4,400
  • 4
  • 21
  • 37
0
votes
1 answer

Subprocess.call how to espeak the components in a list

import subprocess digit = [1,2,3,4] subprocess.call('espeak -s 120 -ven ' + str(digit) +'--stdout | aplay', shell=True) The sound that i hear is only "One", which is only the first component of the list. How should I write the code to make it…
sam
  • 93
  • 1
  • 9
0
votes
0 answers

Raspberry pi how to use subprocess and espeak

I am now finding ways of how to announce a sentence using espeak. When I am in the terminal, when I type espeak -s 5 "where are you" --stdout | aplay it comes out this pi@raspberrypi ~ $ espeak -s 5 "where are you" --stdout | aplay Playing WAVE…
sam
  • 93
  • 1
  • 9
0
votes
1 answer

Espeak phrase stops on the first word with os

why espeak can't read long line phrase? text = "Do Androids Dream of Electric Sheep?" os.system('.\\espeak.exe %(text)s' % locals()) and I have only "Do...", same here: os.system(".\\espeak.exe \'Do Androids Dream of Electric Sheep?\' ") what…
user6185396
0
votes
1 answer

Python only passing the first word of my string to subprocess

So i'm a week into learning python, apologies if this is obvious, can anyone tell me why i only get the first word of my sentence passed to espeak when i call the following functions yet the print command below it prints the whole thing? if i…
Dan
  • 15
  • 6
0
votes
1 answer

How to fix executing espeak in python using subprocess

I am trying to execute espeak using python using an MBROLA voice "us1". from subprocess import call call(["espeak","-v mb-us1","Hello, I am espeak"]) and the following error appear' Failed to read voice ' mb-us1' but it works fine…
Titus Joyson
  • 175
  • 2
  • 3
  • 13
0
votes
1 answer

How to use Oddcast with Asterisk?

Currently, i'm using Espeak with Asterisk (brazilian's voice), but i'm not getting good results. I found Oddcast and it's really helpful, but coudn't find out yet how to use it with Asterisk.
Emerson Oliveira
  • 529
  • 1
  • 4
  • 12
0
votes
0 answers

How to make a certain script run on 'permission denied'? (Raspberry Pi)

I have had an idea for a bash script on my Pi that uses espeak to say "I'm sorry $username, I'm afraid I can't let you do that", when you try to do something you don't have permission for. However, I have no idea how to do this, and a minimal…
Pythonic
  • 103
  • 1
  • 3
  • 8
0
votes
2 answers

How to make meSpeak.js read special characters?

I would like to use mespeak.js script (based on speak.js based on espeak) for text-to-speech - which has a czech voice file -, but for some reason it skips czech special characters like ě, š, č, ř, ž and reads only the rest. As espeak on Windows…
Fanky
  • 1,152
  • 12
  • 18
0
votes
0 answers

How can I manually set custom sound card device for espeak in C++?

I have already written following codes and the program can speak. espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, NULL, 0); espeak_SetParameter(espeakWORDGAP,7,0); espeak_SetParameter(espeakCAPITALS,20,0); …
aracklai
  • 1
  • 1
0
votes
1 answer

eSpeak to mp3 in php on both windows and linux (online text-to-speech)

I want to implement simple text-to-speech script in my web application that would dynamically generate mp3's out of given texts. It needs to run in both: my local WAMP server on windows and my online linux server eSpeak doesn't offer the highest…
Hrvoje Golcic
  • 2,944
  • 23
  • 31
0
votes
1 answer

libespeak voicing extra syllables at end of message

I have an application that uses libespeak (version 1.47.11) to announce various status messages in a human-like voice. This was working well until a new thread was introduced into the application. Now, commonly, the expected words are followed by…
Drew Noakes
  • 266,361
  • 143
  • 616
  • 705
0
votes
2 answers

ubuntu cant execute exec(test.sh) in php

In my php code: exec(test.sh); and test.sh has code: echo "Hi this is test?" | espeak --stdout > demo.wav But nothing happen. No error, No output. If i try to execute test.sh from terminal that it will work perfectly. So why it not run on my…
ishita
  • 63
  • 1
  • 1
  • 5
0
votes
1 answer

meSpeak configuring female voice

I was following the following post to configure the female voice to meSpeak JavaScript variation of eSpeak TTS framework. Link But I am unable to get it to work with the female voice. My en-us-f.json file look as the following. …