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

TextToSpeech setLanguage not working?

I am setting my TextToSpeech to use a particular language (English - UK), using the locale "en_GB". But it always uses my devices default language. Is there no way to set it programmatically? I have downloaded the files required for the language and…
KISHORE_ZE
  • 1,466
  • 3
  • 16
  • 26
6
votes
1 answer

License Issue about Google text-to-speech TTS

I would like to record output from Googles text 2 speech engines and provide this as e.g. wav with my android application (reason see below). The application is closed source, commercial. Can somebody answer me if I am allowed doing this?I did not…
6
votes
4 answers

Chrome text-to-speech API doesn't work

I'm trying the chrome text-to-speech API but even the demo provided by google https://developer.chrome.com/trunk/extensions/examples/extensions/ttsdemo/ttsdemo.html doesn't work for me, I can't hear any sound, do you? I don't think it is a problem…
Eugenio
  • 3,195
  • 5
  • 33
  • 49
6
votes
1 answer

In Android----How can we get word which is speaking in Text to Speech?

Any one help me for Provide hint in Text to Speech? My aim is to provide hint which word is reading by devices. Text to Speech My code is below :- TextToSpeech tts = new TextToSpeech(this,this); if (txtText.getText().toString().length() == 0) …
patel
  • 830
  • 1
  • 11
  • 26
5
votes
4 answers

How to get pronunciation (phonetics) of text (not speech, only text)?

I wanna get pronunciation of short messages using python. For example, message 'text' should be transformed to 'tekst' and message 'привет' (russian) should be transformed to 'privet'. I have tried to use googletrans for it but there is no…
5
votes
3 answers

Google Text-toSpeech - Getting the Audio File in Front-end

I have a requirement where I need to convert some text to audio using Google Text to Speech. I am using Nodejs to get convert the text to audio file, and want to send the audio output to the front-end. NodeJS code: const client = new…
asanas
  • 3,782
  • 11
  • 43
  • 72
5
votes
2 answers

Different ssml values generate the same audio in Google Text to Speech

Unable to generate different audio wave when using ssml when using WaveNet voices. Can you hear me now? Can you hear me now?
Jose GR
  • 51
  • 4
5
votes
1 answer

Save an audiofile from Google Text-to-Speech to Firebase Storage using Google Cloud Storage?

We're trying to get an audiofile from Google Text-to-Speech and save it to Firebase Storage, using a Google Cloud Function. The documentation for Google Text-to-Speech show how to get an audiofile and save it locally: // Performs the Text-to-Speech…
5
votes
1 answer

Google's text-to-speech (WaveNet) quality degrades with long texts

Using the API with the Swedish voice sv-SE-Wavenet-A, it seems that the quality of the audio degrades with longer texts. Short text: Det ter sig logiskt att man gått över till tvångsfinansiering av en kanal som under året alltså tappade sex…
Mickel
  • 6,658
  • 5
  • 42
  • 59
5
votes
5 answers

How to add credentials to Google text to speech API?

I am new to Python.I want to use Google text-to-speech API for that i used below code, but I am unable to access the API due to error. This is the code, def synthesize_text(text): """Synthesizes speech from the input string of text.""" from…
5
votes
3 answers

How to create mp3 from text with Google TTS?

How to create mp3 from any text with Google TTS? 1) I try to find google.translate API, but finded only "audio to text", except "text to audio"! 2) I try to find SpeechSynthesis convert to mp3, but again find nothing! 3) I find only site…
inpost
  • 61
  • 1
  • 1
  • 4
5
votes
1 answer

TextToSpeech: check if it is on-line or off-line for API < 21

I am trying to implement an app that reads text in different languages. Surprisingly, when I use the method isLanguageAvailable(Locale loc), it returns true for languages in the Google TTS list that are not downloaded yet. They are even played when…
5
votes
1 answer

TextToSpeech takes too much time while synthesizeToFile in Android

I have used below code for synthesizing .txt file to .mp3 file using Android built-in TTS Engine. Code: textToSpeech.synthesizeToFile(readFileText, utterParam, destinationFileName); textToSpeech.setOnUtteranceProgressListener(new…
AndiGeeky
  • 11,266
  • 6
  • 50
  • 66
5
votes
1 answer

Is TextToSpeech supported on Google Glass?

I was wondering if TextToSpeech is supported on Google Glass? I did something like this: public class TextToSpeechController implements TextToSpeech.OnInitListener{ private Context mContext; private TextToSpeech tts; public…
4
votes
2 answers

Rails. Puma stops working when instantiating a client of Google Cloud Text-to-Speech (Windows)

I've upgraded my Ruby version from 2.5.x to 2.6.x (and uninstalled the 2.5.x version). And now Puma server stops working when instantiating a client of Google Cloud Text-to-Speech: client = Google::Cloud::TextToSpeech.text_to_speech It just exits…
Ivan
  • 85
  • 9
1 2
3
31 32