Questions tagged [google-text-to-speech]

Refers to issues related to Google's APIs for text to speech (primarily the cloud text to speech API)

Google Text-to-Speech is a screen reader application developed by Google Inc for its Android operating system. It powers applications to read aloud (speak) the text on the screen.

More Info

476 questions
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
64
votes
7 answers

Using Google Text-To-Speech in Javascript

I need to play Google text-to-speech in JavaScript. The idea is to use the web service: http://translate.google.com/translate_tts?tl=en&q=This%20is%20just%20a%20test And play it on a certian action, e.g. a button click. But it seems that it is…
Betamoo
  • 14,964
  • 25
  • 75
  • 109
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…
24
votes
5 answers

Google Translate TTS API blocked

Google implemented a captcha to block people from accessing the TTS translate API https://translate.google.com/translate_tts?ie=UTF-8&q=test&tl=zh-TW. I was using it in my mobile application. Now, it is not returning anything. How do I get around…
ginsengtang
  • 751
  • 1
  • 7
  • 17
21
votes
3 answers

Google Cloud Text-to-speech word timestamps

I'm generating speech through Google Cloud's text-to-speech API and I'd like to highlight words as they are spoken. Is there a way of getting timestamps for spoken words or sentences?
user2248702
  • 2,741
  • 7
  • 41
  • 69
20
votes
2 answers

Android Text-To-Speech API Sounds Robotic

I'm learning android development for the first time and my goal is to create a simple Hello World application that takes in some text, and reads them out loud. I've based my code off an example I found and here's my code: class MainFeeds :…
17
votes
2 answers

How to get SSML timestamps from Google Cloud text-to-speech API

I want to use SSML markers through the Google Cloud text-to-speech API to request the timing of these markers in the audio stream. These timestamps are necessary in order to provide cues for effects, word/section highlighting and feedback to the…
17
votes
2 answers

Bypassing Google TTS Engine initialization lag in Android

I have tried playing the TextToSpeech object when a specific event is triggered in the phone. However, I facing issues with the default Google TTS engine that is installed on most phones. As of now, I am playing some text immediately after the…
SoulRayder
  • 5,072
  • 6
  • 47
  • 93
15
votes
6 answers

How to fix "Could not find policy 'pick_first'" with Google TTS java client?

I can't make a request using Google TTS Client library in java. Each time it throws a bunch of exceptions. I just try to get a list of available voices. GoogleCredentials creds = null; TextToSpeechClient textToSpeechClient = null; try…
Gui-Yôm
  • 165
  • 1
  • 8
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
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
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
11
votes
8 answers

Adding a pause in Google-text-to-speech

I am looking for a small pause, wait, break or anything that will allow for a short break (looking for about 2 seconds +-, configurable would be ideal) when speaking out the desired text. People online have said that adding three full stops followed…
Barry Sturgeon
  • 125
  • 1
  • 1
  • 5
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…
1
2 3
31 32