Questions tagged [google-text-to-speech]

1

votes
0

answer
299

Views

Which SSML Tags are supported by Android TTS default engine

I have searched a lot unable to find any solid solution for, which are valid ssml tags supported by Android TTS default engine. could any one please update me. Will these tags support on all the android devices.
Manmohan Soni
1

votes
0

answer
186

Views

FreeTTS - Multiple voices at once

I'm currently writing a Java application (chat app) which requires text-to-speech. After looking online for a bit I found out that FreeTTS is a good option, I managed to get it work, and it currently prevents the main UI thread from being blocked as I'm running it in a thread. The only issue is that...
Paradoxis
1

votes
1

answer
366

Views

TextToSpeech onInit not firing

I can't get TextToSpeech to work. It seems to me that I am having trouble initialising through the onInit method, since I don't seem to be able to debug this code. Hence, I'm wondering how I fire this programmatically. Or maybe my environment set up is wrong. I am running Android Studio Beta 3 min...
Milambardo
1

votes
0

answer
214

Views

How can I play an audio stream from web request?

I want to play an audio stream from web request. I send the request to TTS API Url and then received the result stream. How can I play it without saving it in my disk.
Brian
1

votes
1

answer
135

Views

Festival unit selection voice Missing diphone: # hash

Some background: In trying to build a unit selection voice I followed the steps here: https://github.com/CSTR-Edinburgh/CSTR-Edinburgh.github.io/blob/master/_posts/2016-8-21-Multisyn_unit_selection.md and used a voice definition from here: https://raw.githubusercontent.com/CSTR-Edinburgh/merlin/mast...
John Leonard
1

votes
0

answer
1.8k

Views

How to set tamil voice in TTS android programmatically?

Example: English: tts.speak('Welcome rubin', TextToSpeech.QUEUE_ADD, null); It speaks correctly English in US Voice. Hindi: for (Voice voice: voices) { Log.v(TAG, voice.getName()); if (voice.getName().equals('hi-in-x-cfn#female_2-local')) { tts.setVoice(new Voice(voice.getName(), } } tts.speak('स...
thamim
1

votes
0

answer
207

Views

Speech synthesis on IOS devices via browser

I am trying to run speechsynthesis TTS in a browser on IOS. I understand there is some issue where IOS blocks TTS is called programatically, but I can't seem to get it to run there when a direct on click to a button. (it works on non-IOS devices) Play function PlayTTS() { var audio=new SpeechSynthes...
Bill Ferster
1

votes
0

answer
115

Views

Speech to Text in Custom Keyboard Extension objective c

I have implemented Speech to text feature in my main app successfully, but when i try to implement same code in Custom Keyboard Extension it failed to record voice. I have checked all things and searched stack Overflow but couldn't find any solution. This is the error when i start recording AUIOCli...
Khawar Shahzad
1

votes
0

answer
209

Views

Apple Watch app AVSpeechSynthesizer not working in background

In my watchkit extension capability section there is no option to check the checkbox for audio in background mode section. I have also checked apple doc . They are only 3 exception. 1) NSURLSession 2) WKAudioFilePlayer or WKAudioFileQueuePlayer 3) HKWorkoutSession But i need my dynamic text to spe...
Aanchal Chaurasia
1

votes
0

answer
306

Views

TTSPlaybackCreate unable to initialize dynamics: -3000 Error

My Obj-C application using text to speech start to get [TTS] TTSPlaybackCreate unable to initialize dynamics: -3000 error I have no idea why is that happening means I checked internet and application code if there was an answer to this problem but could not find any. Seems to be a new iOS version bu...
Hope
1

votes
1

answer
152

Views

How Do I use CMU Flite TTS engine in my application?

I am developing an android application for text to speech in Indian languages and for that CMU Flite provides indic language voice databases. But I don't know how to use this plug in in my application. Please help me. In which way I can use Flite TTS engine in my own aplication?
Riya Patel
1

votes
0

answer
564

Views

Swift Text to Speech doesn't work on device, but does work on simulator

The problem is: I have an implementation of the textToSpeech on swift and weirdly it doesn't work on my iPhone, but when I use the simulator it does! Here's a simple code: import UIKit import AVFoundation class ViewController: UIViewController, AVSpeechSynthesizerDelegate { override func viewDidLoad...
Rafael Paz
1

votes
0

answer
57

Views

Take only the first few seconds of an wav file (returned by WATSON of IBM) in PHP

I am currently using Watson text-to-speech of IBM using PHP. It works well but I have found that the audio has a duration of 27 hours (whereas watson speaks only a few seconds). When I opened the .wav I have found that it automatically stops when the voice stops (thus after a few seconds). Thereafte...
Fabien
1

votes
0

answer
413

Views

Make Text to Speech in iOS with Vietnamese language

I'm using AVSpeech​Synthesizer but it supports only a few languages, not Vietnamese. Is there any way? I prefer the engine which can use offline and cheap too. Or whatever if there is no other way.
quangkid
1

votes
0

answer
51

Views

TTS Utteranceprogresslistener does not work correctly

My app use the accessibility (TalkBack) and android TTS. I use TTS to read the TextView and use the callback methods to go to a new ViewPager page. public class Player extends UtteranceProgressListener implements TextToSpeech.OnInitListener{ public void onInit(int i) {} @Override public void onStart...
Andrey Cherkasov
1

votes
2

answer
270

Views

Regarding text to speech with real human voice in offline mode and if online then free

Currently i am developing application related to speech text. For this i used text to speech of android. But it is not doing speech like a person speaks. So there is any library or way to speech my text like real person's speaks. Please help. Thanks in advance
chetan prajapat
1

votes
0

answer
133

Views

Is it possible to make use of chrome.tts.speak() within chrome.tabs.executeScript()?

I am currently in the process of producing a chrome extension that features numerous accessibility tools, one such tool is Text To Speech. So far for every tool I have made use of chrome.tabs.executeScript(null, code{''}, however text to speech requires the use of chrome.tts.speak(). Is it possible...
Giles Goat-boy
1

votes
1

answer
64

Views

Webform never stops loading after speak using SpeechSynthesizer

i was using speech class to play text to speech in ASP.NET website after successfully playing the text the page load never stops. It keeps on loading for an indefinite time. And so I cannot click on next to speak the next work sp.SpeakAsyncCancelAll(); sp.Volume = 100; sp.SpeakAsync(rword.partofspee...
iamal
1

votes
0

answer
140

Views

Text to speech languages and voices in WPF c#

I'm running Windows 10 and Visual Studio 2017. When I check what voices that are available I only get Zira and David from Visual Studio when building a WPF app. When I check when building a UWP app I get Bengt! When I check in Windows 10 I only have Bengt (a Swedish one). Is there a way I can get B...
Martin Wickström
1

votes
0

answer
293

Views

How to play Base64 encoded audio file from client side (Google Cloud TTS)

I'm trying to play the audio output of Google Cloud TTS on a given browser. I can successfully save the TTS output as a wav file, but what I want to do is play the byte array from the client side. Right now when I play my audio byte array, all I get is loud static. According to the google cloud doc...
R.X
1

votes
1

answer
399

Views

python text translation to speech

I am working on testing text translation (from English to other language) and translation to audio code using python. I am using google translate api for translation and win32 for audio. While testing i found that google supports https://gist.github.com/jseabold/1473363 these languages. The transla...
ankit patel
1

votes
1

answer
578

Views

google home reading from website

I'm currently working on a project where my main focus is to create an Action for Google Home which can be invoked and asked to read out some articles (chosen previously from a list, also by voice) from a particular website. I was wondering if it was possible, or if it were already some similar pro...
Giorgio Maritano
1

votes
0

answer
68

Views

Any ideas about how to save the sound produced by runAndWait()?

I'm using pyttsx3 to convert text to speech. import pyttsx3 def tts(text): engine = pyttsx3.init() engine.say(text) engine.runAndWait() but the problem is that I can't save the sound to a file (which is so weird for a library like this). I've tried some other alternatives like espeak which is the dr...
Zied GUESMI
1

votes
1

answer
47

Views

How to find out what engine is being used by a particular TextToSpeech instance?

In Android, how can you query a TextToSpeech instance in order to find out what Engine it is using? In the documentation, the only method that looks promising is TextToSpeech.getEngines(), but this method returns all Engines installed on the device and has nothing to do with a particular instance of...
Boober Bunz
1

votes
1

answer
36

Views

Method call works only with a button click

I have been trying to get Android TTS working (with access from a different activity class). With the solution that I found, it only seems to work with a button click. If I try to directly call the talk.speak() method it doesn't work for some strange reason. I am very curious to find out what could...
Vitalynx
1

votes
0

answer
37

Views

Can I redistribute the result of Google Text-To-Speech?

My question concerns the Google Text-to-Speech engine and in particular the following scenario. The user writes a text in an Android application The Text-to-Speech saves it as a .wav file Am I allowed to upload this file to a web server and use it as part of a web application or are there licensing...
Katerina A.
1

votes
0

answer
57

Views

text to speech how to get call back on UtteranceProgressListener.onRange()

I am trying to get a callback on onRange() of text to speech UtteranceProgressListener. Currently I get callback on onStart(),onEnd().But I can't get callback on onRange(). Can anyone help to get a callback on onRange(). Checked sample codes but not able to find a proper solution. I think I have to...
Amrutha Saj
1

votes
1

answer
133

Views

TextToSpeech cannot be stopped correctly

I have a text that is refreshed, and every time this happens. I call a static method method speak() located in another class with this structure: public class Voc { static TextToSpeech mytts; public static void speak(String myText){ mytts=new TextToSpeech(c, new TextToSpeech.OnInitListener() { //....
AndreaF
1

votes
0

answer
62

Views

es demux error: cannot peek when trying to make my computer speak with Python

I'm trying to get my computer to talk with google translate speech functionality on Ubuntu Utility Ubuntu16.04. I found a way to do it usning the voice library speak and this repository, but I have an error with VLC and I have not found a similar error on the Internet. ... # for text to speech impor...
Alice Antoine
1

votes
0

answer
76

Views

Valid values of Speed and Pitch for Google Text-to-Speech API in Python

I'm trying to implement Google's Text-to-Speech api in python/Django, but I'm not able to set the correct values for Seed and Pict: According to my understanding of API's documentation, we have values for Speed between the range 0.25 -to- 4.0 AND Pitch between -20 -to- 20. But when I passed values b...
Abdul Rehman
1

votes
0

answer
22

Views

My app is “speaking” before the activity has finished setting up, how to fix? (I'm already using onResume())

@Override protected void onResume() { super.onResume(); if (!tts.isSpeaking()) { tts.speak(voiceD, TextToSpeech.QUEUE_FLUSH, null); } } /* onItin() is already implemented, in fact it works when the activity is already set up and I click a button to call it, but I want to transition to an Activity af...
Tristen
1

votes
0

answer
38

Views

How can I return the finalized transcript String from a Google speech to text response?

func processSampleData(_ data: Data) -> Void { audioData.append(data) // We recommend sending samples in 100ms chunks let chunkSize : Int /* bytes/chunk */ = Int(0.1 /* seconds/chunk */ * Double(SAMPLE_RATE) /* samples/second */ * 2 /* bytes/sample */); if (audioData.length > chunkSize) { SpeechReco...
Simon Matthews
1

votes
0

answer
24

Views

How to run selected text using keyboard shortcut joined together with a command in background?

I am trying to be able to select text anywhere within my manjaro linux system and run it along with a TTS text to speech program. The program is called google_speech and it got a really clear default voice and is really easy to use, however I am finding it hard to implement what I want to do with it...
Johnny5
1

votes
0

answer
371

Views

Hard-coding the PICO tts Engine into an Android App

I have been trying to include text-to-speech functionality in an app... where the app will automatically speak to the user in his or her preferred language (determined by system settings), but while I have a working version on IOS, this Android version has proven to be a major challenge due to the v...
Boober Bunz
1

votes
0

answer
186

Views

Sending audio over SIP client

I have 2 clients, the Java SIP client net.sourceforge.peers and a Zoiper on the other side. I am trying to send prepared audio files on the Java client using net.sourceforge.peers.demo On the net.sourceforge.peers, I will be reading the incoming audio, transcribing it, then using nlp I will generate...
Ab Sin
1

votes
0

answer
15

Views

Create simple sounds such as 8-bit through code

I need to build a very rigid text to speech generator choosing my own 8 bit sounds per syllable/char but have not found a single piece of code online to do this in C# other than AudioClip.SetData() method for creating Sine waves which is not what I need. I need more rough sounds like 8-bit or higher...
1

votes
1

answer
74

Views

How to get the token from the api response (react-native)

I want to call the rest API of text to speach service by react-native. When I want to get the token of my service, I don't know which part of the response I need to use. This is the response details: What's more, what is the response format of text to speech API? I want to save the audio in react-n...
chenxu
1

votes
0

answer
163

Views

Google Cloud Speech-to-Text api encoding issues in Node.js

I'm trying to capture audio from a user's microphone and send it to a server where it will get sent to Google's Speech-to-Text-API for translation. I'm accessing the audio using navigator.mediaDevices.GetuserMedia() which I capture using a MediaRecorder object. When I run the following code I get an...
Kyle Wollman
1

votes
0

answer
52

Views

Text to speech playing when app closed

How can you make text to speech play whilst the app is closed (in the background)? - Because text to speech is not constant (whereas something like music is), the audio session closes if speech isn't played closed enough together - how can I prevent this?
D-A UK
1

votes
1

answer
59

Views

Android-Text To Speech doesnot working on device

Text to speech app works on emulator finely but on my both Samsung devices it does not work today although the language was already downloaded and also it worked yesterday. Is it about my devices or code? Here is my logcat output 08-14 20:43:31.358 26355-26355/com.example.semra.t...
user8938744

View additional questions