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

399 questions
74
votes
14 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
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
  • 12,574
  • 22
  • 69
  • 107
32
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…
23
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
  • 721
  • 1
  • 6
  • 16
19
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 :…
18
votes
2 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,327
  • 4
  • 32
  • 61
16
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
  • 4,699
  • 5
  • 39
  • 86
14
votes
1 answer

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…
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:
Sankalp Mishra
  • 5,602
  • 4
  • 27
  • 58
10
votes
4 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,093
  • 1
  • 11
  • 21
10
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
  • 18,056
  • 71
  • 208
  • 385
9
votes
4 answers

Why is my Speech Synthesis API voice changing when function run more than 1 time?

I have been using the new Speech Synthesis API in Chrome (33 and above) to make a web based communication aid. I would like the user to be able to change the voice between male and female, which the API allows me to do. However, when the page is…
8
votes
1 answer

Initialising the TextToSpeech object on a worker thread

For years (literally), my application has suffered woes from poorly performing text to speech engines, in particular, the initialisation time when calling: tts = new TextToSpeech(context, myOnInitListener); The above can cause the UI to lag and if…
brandall
  • 5,724
  • 3
  • 42
  • 100
7
votes
4 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…
7
votes
2 answers

ModuleNotFoundError: No module named 'google.cloud'

I'm looking to use the Google "cloud text to speech" api, and I'm having the common problem of the module not being found. I've tried the solutions that most people have, only problem being that I use windows and most of the solutions are for mac or…
1
2 3
26 27