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
83
votes
14 answers

How to make Python speak

How could I make Python say some text? I could use Festival with subprocess but I won't be able to control it (or maybe in interactive mode, but it won't be clean). Is there a Python TTS library? Like an API for Festival, eSpeak, ... ?
dugres
  • 12,613
  • 8
  • 46
  • 51
79
votes
8 answers

Text to speech(TTS)-Android

I am new to the android platform. Now I am working on TTS(Text to Speech).If I enter the text in a TextArea and I would like it to be converted to speech when i click the speak button. Can anyone help me out?
bharathi
  • 6,019
  • 23
  • 90
  • 152
74
votes
15 answers

Google Text-To-Speech API

I want to know how can I use Google Text-to-Speech API in my .NET project. I think I need to call a URL to use the web service, but the idea for me is not clear. Can anyone help?
user1296017
  • 749
  • 1
  • 6
  • 4
55
votes
11 answers

C# Speech Recognition - Is this what the user said?

I have need to write an application which uses a speech recognition engine -- either the built in vista one, or a third party one -- that can display a word or phrase, and recognise when the user reads it (or an approximation of it). I also need to…
Richard C
  • 2,176
  • 5
  • 30
  • 40
55
votes
4 answers

iOS Text To Speech Api

I can't seem to find anything on this. Are there any Siri classes or API's in iOS7 that let you do text to speech? All I am trying to do is something like the following: [siriInstance say:@"This is a test"]; And then have Siri say it from my…
Jesse
  • 2,674
  • 6
  • 30
  • 47
55
votes
9 answers

Java: Text to Speech engines overview

I'm now in search for a Java Text to Speech (TTS) framework. During my investigations I've found several JSAPI1.0-(partially)-compatible frameworks listed on JSAPI Implementations page, as well as a pair of Java TTS frameworks which do not appear to…
DiaWorD
  • 963
  • 2
  • 11
  • 10
52
votes
6 answers

How to convert text string to speech sound

I am looking for a way to convert text(string) in ENG to speech(sound) in c#. do anyone know for a way or some open-source lib that can help me with this task?
user2110292
  • 3,637
  • 7
  • 22
  • 22
48
votes
4 answers

TTS-UtteranceProgressListener not being called

I don't want to put all my code here, so I'm just putting the relevant pieces. If you need more, feel free to ask. I'm using Text To Speech (TTS) which leads to a speech listener after it asks a question... I found through Log outputs that TTS's…
Psest328
  • 6,575
  • 11
  • 55
  • 90
42
votes
7 answers

ms speech from command line

Is there a way to use the MS Speech utility from command line? I can do it on a mac, but can't find any reference to it on Windows XP.
JLZenor
  • 1,460
  • 2
  • 14
  • 23
41
votes
8 answers

How to know when TTS is finished?

I'm implementing an Interactive Voice Response application on Android. I would like to know how to determine when the tts.speak() function has done talking so I can call my speech recognizer function.
Felipeap
  • 511
  • 1
  • 6
  • 9
35
votes
3 answers

Make the `say` terminal utility and NSSpeechSynthesizer work with Siri voices

The say command-line utility seems to be unaware of Siri voices as of macOS 11 (Big Sur): say -v '?' doesn't list Siri voices. Targeting a Siri voice explicitly doesn't work: say -v NoraSiri hi! doesn't find the Nora Siri voice (which is the…
mklement0
  • 382,024
  • 64
  • 607
  • 775
34
votes
3 answers

Why does JSON.stringify return empty object notation "{}" for an object that seems to have properties?

The following example shows that JSON.stringify() returns the string "{}" for SpeechSynthesisVoice objects: var voiceObject = window.speechSynthesis.getVoices()[0]; JSON.stringify(voiceObject); //returns "{}"? Complete example: JSFiddle Why does…
Chilly Code
  • 678
  • 2
  • 6
  • 17
34
votes
9 answers

SpeechSynthesis API onend callback not working

I'm using the Speech Synthesis API on Google Chrome v34.0.1847.131. The API is implemented in Chrome starting in v33. The text-to-speech works for the most part, except when assigning a callback to onend. For instance, the following code: var…
34
votes
1 answer

What in TtsService could explain the lack of onUtteranceCompleted() for playEarcon()?

A while ago, I discovered that playEarcon() never produces onUtteranceCompleted(). At the time I just interpreted the documentation that said "Called when an utterance has been synthesized" as onUtteranceCompleted() being not applicable for earcons…
an00b
  • 11,338
  • 13
  • 64
  • 101
33
votes
2 answers

Is there a text-to-speech software that accepts IPA-based phonetic transcription?

I would like to translate phonetic text (IPA) to synthesized speech. No TTS software that I have found can do this and I can't find any other software either. Any tip? Is this even doable in theory with decent quality or isn't the phonetic text (IPA…
Martin Torhage
  • 613
  • 1
  • 5
  • 12
1
2 3
99 100