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
11
votes
6 answers

Android not acknowledging TTS Engine

I am developing a very simple app in here. It's for my Cerebral Palsy daughter. It's just a big YES and NO buttons, so she can press them when requested. Well... I am using SVOX Classic TTS Engine. Everything was running smoothly until my tablet…
Carlos Pereira
  • 1,914
  • 6
  • 24
  • 35
11
votes
12 answers

Need text to speech and speech recognition tools for Linux

I'm planning on writing a program for Linux that uses text to speech and speech recognition. What are the best tools/libraries for this? Should I use Windows instead to be able to use better tools? The tools need to be easily callable from a console…
Cory Walker
  • 4,809
  • 4
  • 28
  • 32
11
votes
1 answer

SpeechSynthesizer .NET control pitch

I'm trying to change the pitch of spoken text via SSML and the .NET SpeechSynthesizer (System.Speech.Synthesis) SpeechSynthesizer synthesizer = new SpeechSynthesizer(); PromptBuilder builder = new…
fritz
  • 377
  • 1
  • 5
  • 11
11
votes
3 answers

Samples or live demo of Amazon Polly?

I'm considering using Amazon Polly's Text-To-Speech (TTS) but want to evaluate how natural it really sounds with arbitrary examples (not the ones carefully curated by Amazon marketing folks). All I've found is a very limited youtube video (just a…
Clay Nichols
  • 11,848
  • 30
  • 109
  • 170
11
votes
5 answers

Google Translate API text-to-speech: http requests forbidden

I am making a language learning web app that when you hover over the word, it pronounces it for you. I'd like to access the native speaker translations from Google Translate API. I've found this resource which gives…
11
votes
1 answer

How do I play audio returned from an XMLHTTPRequest using the HTML5 Audio API

I'm failing to be able to play audio when making an "AJAX" request to my server side api. I have backend Node.js code that's using IBM's Watson Text-to-Speech service to serve audio from text: var render = function(request, response) { var…
exiquio
  • 473
  • 2
  • 5
  • 12
11
votes
2 answers

Delphi SAPI Text-To-Speech

First of all: this is not a duplicate of Delphi and SAPI. I have a specific problem with the "SAPI in Delphi" subject. I have used the excellent Import Type-Library guide in Delphi 2009 to get a TSpVoice component in the component palette. This…
Andreas Rejbrand
  • 105,602
  • 8
  • 282
  • 384
11
votes
2 answers

SSML using Chrome TTS

I'm trying to give a little more clarity to TTS sentences by indicating emphasis, etc. I'm using the Chrome TTS API, which indicates that it accepts SSML-formatted documents in addition to raw text. After many attempts, and a reading a few comments…
11
votes
3 answers

Slow down Twilio's TwiML "Say" command for text-to-speech numbers

I've created a Twilio application that involves using Twilio's TwimL command to read off a list of numbers that constitute an ID that the user has previously input (e.g., 3638194746219190 or something along those lines). Since it's a long…
jdotjdot
  • 16,134
  • 13
  • 66
  • 118
10
votes
1 answer

onUtteranceCompleted does not get called?

Even though I am setting it correctly: HashMap myHashRender = new HashMap(); myHashRender.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, "utid"); mTts.speak("Speak something", TextToSpeech.QUEUE_ADD,…
Priyank Bolia
  • 14,077
  • 14
  • 61
  • 82
10
votes
5 answers

SpeechSynthesis.getVoices() not listing voices in Firefox

I am developing an application that requires me to use text to speech in the web browser. I am using the HTML5 Speech Synthesis for it. On Google Chrome the code runs fine, with all the available voices being listed using |getVoices()|, but in…
10
votes
4 answers

ImportError: cannot import name 'InsecureRequestWarning' (PYTHON3 | RPI3 | gTTS)

I'm having trouble using gTTS (Google Text to Speech) on my raspberry Pi 3. I simply did sudo pip3 install gTTS to install it. But when I run my code I find this error : File "interface.py", line 7, in from gtts import * File…
sr_fpms_ig
  • 101
  • 1
  • 4
10
votes
2 answers

What are reasons that causes TTS initialization to fail?

TTS initialization error was observed in the following scenarios, that too randomly. TTS engine is installed, voice set is present and sample tts can be played from the Accessibility options. The TTS initialization fails randomly on the same…
10
votes
1 answer

How can i add/change speech voice gender to iOS app in swift? I am using AVSpeechSynthesisvoice Class for getting speech voices

I have created an app with speech voice feature using AVSpeechSynthesizer & displaying a list of languages from AVSpeechSynthesisVoice: speechVoices() function in a TableView. The user can select speech language from the TableView. The next thing i…
10
votes
1 answer

text to phonemes converter

I'm searching for a tool that converts text to phonemes, (like text to speech software) I can program one but it will not be without errors and takes a lot of time! so my question is: is there a simple tool for converting e.g. "hello" to "HH AH0 L…
Tom
  • 221
  • 1
  • 4
  • 16