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
16
votes
2 answers

TextToSpeech on Android 11

Up to API 29 tts is working fine on android to speak out any text But on API 30 tts is not working anymore and i do not know why The google documentation says : "Apps targeting Android 11 that use text-to-speech should declare…
Frank
  • 2,738
  • 2
  • 14
  • 19
16
votes
1 answer

Is there a way to convert speech directly into SSML?

Just as one is able to use various speech-to-text 'dictation' tools to convert spoken word into its corresponding text, I would like to know if there are similar such tools for converting spoken word into its corresponding SSML. That is, it will…
16
votes
1 answer

What do the Android Voice names / codes mean?

I am calling the Voice.getName() method like so: Set voices = tts.getVoices(); String name = voice.getName(); This returns code names rather than friendly display names. What I want is a display name, but there doesn't seem to be any way to…
mike nelson
  • 21,218
  • 14
  • 66
  • 75
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…
16
votes
4 answers

How to get a list of ALL voices on iOS 9?

The standard way to get a list of 'all' AVSpeechSynthesisVoice objects, is to ask for it: [AVSpeechSynthesisVoice speechVoices] However, this only shows a unique default voice per language-region pair. e.g. for en-US: "Language: en-US, Name:…
axello
  • 546
  • 3
  • 11
16
votes
1 answer

Why doesn't UtteranceProgress Listener get called on Text to Speech?

I've tried to call some Methods on start and end of text to speech so I used the setOnUtteranceProgressListener but it doesn't work/get called. What am I doing wrong? Here the needed code: Class: public class SpeechRecognizerActivity extends…
user2043332
  • 395
  • 4
  • 17
16
votes
3 answers

How do I use a lexicon with SpeechSynthesizer?

I'm performing some text-to-speech and I'd like to specify some special pronunciations in a lexicon file. I have ran MSDN's AddLexicon example verbatim, and it speaks the sentence but it does not use the given lexicon, something appears to be…
Christopher Galpin
  • 1,088
  • 12
  • 27
15
votes
1 answer

What is the default audio stream of TTS?

As far as I can tell, there are currently are 7 audio streams in Android: STREAM_ALARM (for alarms) STREAM_DTMF (for DTMF Tones) STREAM_MUSIC (for music playback) STREAM_NOTIFICATION (for notifications) STREAM_RING …
an00b
  • 11,338
  • 13
  • 64
  • 101
15
votes
3 answers

Text-to-speech (voice generation) and speech-to-text (voice recognition) APIs?

Is there a comprehensive list of known APIs for desktop or browser environments?
15
votes
4 answers

Android TTS onUtteranceCompleted callback isn't getting called

I am trying to get the Android TTS API to read my "utterance" and then call the onUtteranceCompleted() listener unsuccessfully. I've registered my TTS object and it returns SUCCESS, so I can't figure out for the life of me why my callback isn't…
Justin Shidell
  • 588
  • 1
  • 5
  • 16
15
votes
2 answers

A good Text-to-Speech JavaScript library

I am looking for a good text to speech javascript library for my application. I looked around and saw Jtalk and speak.js. But I'm not sure which one to go forth with. I'm curious to know from people about the pros and cons of them and I'm interested…
Ajax3.14
  • 1,647
  • 5
  • 24
  • 42
14
votes
8 answers

Android Text To Speech Male Voice

I have a working text to speech but I was wondering instead of a female voice when the app calls it to be played it will do a male voice instead?
user1284791
  • 179
  • 2
  • 2
  • 5
14
votes
5 answers

Android TTS doesn't speak

I am trying to implement text to speech technology of android in my Activity but I face a strange error. I can't hear any sound, from my code. The speak method works only if I place it in onInit method, else it doesn't speak. My code is as follows…
Nick
  • 1,393
  • 1
  • 14
  • 22
14
votes
2 answers

How do I add a voice / language to speechSynthesis?

When I run speechSynthesis.getVoices() in Chrome, I get a list of possible voices. The list changes depending on the computer and version of Chrome. Is there any way I can extend support and add more voices? I feel like this could be done by asking…
14
votes
3 answers

Does Android TTS support Speech Synthesis Markup Language?

Passing the following SSML (Speech Synthesis Markup Language) document to the com.svox.pico TextToSpeech engine resulted in a reading of the XML body but no control from the phoneme element or the emphasis element. This result (no apparent SSML…
gregS
  • 2,580
  • 5
  • 28
  • 33