Questions tagged [text-to-speech]

Text-to-speech or speech synthesis is the artificial production of human speech.

Speech synthesis is the artificial production of human speech. A computer system used for this purpose is called a speech synthesizer, and can be implemented in software or hardware. A text-to-speech (TTS) system converts normal language text into speech.

3705 questions
14
votes
3 answers

How can I control how Android TTS plays audio

I have a class that uses the Android TTS API to transcribe text to audio. I can control the pitch and speed; but I noticed the engine requires a text string and also a hash object. I noticed some words are pronounced too quickly to be easily…
motoku
  • 1,571
  • 1
  • 21
  • 49
14
votes
3 answers

C# Save text to speech to MP3 file

I am wondering if there is a way to save text to speech data to an mp3 or Wav file format to be played back at a later time? SpeechSynthesizer reader = new SpeechSynthesizer(); reader.Rate = (int)-2; reader.Speak("Hello this is an example expression…
CodeMonkeyAlx
  • 813
  • 4
  • 16
  • 32
13
votes
3 answers

High quality, emotional, fluent and variable Text-to-Speech engine?

After looking at some of services/tools, I've come to a conclusion. Most Text-to-Speech tools have too techy, robotic - in other words, bad quality c voices. And yeah, on top of that, it looks like they come with a "hard-coded" voice templates,…
tomsseisums
  • 13,168
  • 19
  • 83
  • 145
13
votes
3 answers

Using SAPI is there a way to enter pinyin for Chinese pronunciation?

The goal is to be able to pronounce something like wo3. System.Speech can handle Chinese characters, but is there a way to input pinyin directly? It seems from http://msdn.microsoft.com/en-us/library/ms720566(v=vs.85).aspx that I should be able to…
tofutim
  • 22,664
  • 20
  • 87
  • 148
13
votes
3 answers

Android TTS checking for supported locale with missing/not downloaded voice data

I'm using Android's TextToSpeech class. Everything is working normally. However, there are languages/locales that aren't installed by default but supported by the TTS engine and I can't capture the state of missing voice data. With the internet on,…
Charles Li
  • 1,835
  • 3
  • 24
  • 40
12
votes
4 answers

How to make pyttsx module's voice go slower

My code: import pyttsx3 import random engine = pyttsx3.init() words = ['hello', 'word'] engine.say(random.choice(words)) #Say these words slower I don't want it to go really slow just slow enough to be easy for a non native speaker to…
reanuk
  • 117
  • 1
  • 2
  • 7
12
votes
2 answers

Can I add my own voice to TTS and can generate the paragraph with my own voice?

Can I add the dictionary of my own voice for text to speech application? If it possible which development language would be best to develop such a this kind of application There are several online tool for text to speech but they have there own…
Amit Golhar
  • 799
  • 4
  • 8
  • 21
12
votes
4 answers

ImportError: No Module named 'driver' in pyttsx

I am trying to run a voice program in Python 3.5.2 and with pyttsx library. But I've faced up with lots of problems. First one is about engine. When I run the command import pyttsx, compiler gave me the error like below: ImportError: No module named…
Prometheus
  • 1,522
  • 3
  • 23
  • 41
12
votes
7 answers

Custom Python gTTS voice

I have been using the gTTS module for python 3.4 to make mp3 files of spoken text. It has been working, but all of the speech is in a certain adult female voice. Is there a way to customize the voice that gTTS reads the text in?
Theo D.
  • 123
  • 1
  • 1
  • 5
12
votes
3 answers

How do I pause and resume AVSpeechSynthesizer / AVSpeechUtterance in swift?

I have implemented text-to-speech in my app and it works fine with the code I currently use. Basically an algo creates a text, and then if the user clicks on the UIButton the text is being spoken. Challenge: I want to enable the same UIButton to…
KML
  • 2,302
  • 5
  • 26
  • 47
12
votes
2 answers

Getting pronunciation of a word using Google Translate API

I am trying to save the pronunciation of a French word into a .wav or .mp3 file. I was wondering if there was anywhere on the Google Translate API (since it has a pronunciation functionality) that allows me to achieve this objective. Other…
user39664
  • 131
  • 1
  • 1
  • 4
12
votes
5 answers

Android TTS fails to speak large amount of text

I am trying to speak out large amount of text using Android Text To Speech. I using default Google speech engine. Below is my code. public class Talk extends Activity implements TextToSpeech.OnInitListener { private ImageView playBtn; …
PeakGen
  • 21,894
  • 86
  • 261
  • 463
12
votes
6 answers

Text-to-speech in PHP with Google Translate

I am trying to convert words to speech .. Untill now I have tried this:
Engineer
  • 5,911
  • 4
  • 31
  • 58
12
votes
7 answers

Any free Text To Speech for browsers?

Wondering if there is any Text to Speech software available as a plug in for IE or Firefox.
Jobi Joy
  • 49,102
  • 20
  • 108
  • 119
12
votes
3 answers

Python Text to Speech in Macintosh

Are there any libraries in Python that does or allows Text To Speech Conversion using Mac Lion's built in text to speech engine? I did google but most are windows based. I tried pyttx. I tried to run import pyttsx engine =…
VeilEclipse
  • 2,766
  • 9
  • 35
  • 53