text-to-speech

Text to Speech 503 and Captcha Now

纵饮孤独 提交于 2019-12-05 07:15:23
问题 I've been using the Google Text to Speech engine for quite some time and today I've started receiving 503s and captcha requests. My original query was https://translate.google.com/translate_tts?tl=en&q=hi Assuming I needed an API Key, I requested a key and added that to the URL query string https://translate.google.com/translate_tts?tl=en&key=xxxxxxx&q=hi However, my service is still receiving the captcha request. I'm assuming that the API has been changed but can't find any documentation to

Android: two instances of Text-to-Speech work very slowly

流过昼夜 提交于 2019-12-05 07:14:17
I need to implement feature in my Andorind app which allows to play two different synthesized languages in current Acitivity - for instance having two buttons Say English and Say French I've tried to do it in two following ways but both of them works ineffectively because there is long delay before sound plays: first approach: create single instance of TTS and change language by setLocale method depending on what language has to be played. Unfortunately switching between languages by setLocale is time consuming which has impact on reaction after button is clicked second approach: create two

Is the Google TTS Engine on all Android Phones, and where can I get it?

你离开我真会死。 提交于 2019-12-05 07:11:22
I'm trying to find out if the Google TTS Engine that came with my Android phone comes installed as factory default with all Android phones that support it? I'm not sure what kind of reference to look at to figure this out, so my plan is to go to Softbank, a retailer, and ask. I feel it's a question they won't be able to answer, though. I've been told that Galaxies don't come with Google TTS, specifically; so, anyone with a Galaxy can at least set me straight on that.... I'm also wondering, how can I get a packaged version of the Google TTS Engine? I'm not able to find it on The Play Store. The

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

左心房为你撑大大i 提交于 2019-12-05 06:22:20
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 http://translate.google.com/translate_tts as the base URL and tl for target language and q for the query string. This works awesome when I just access it in the browser, http://translate.google.com/translate_tts?tl=zh-CN&q =你好, but any httprequests for my app return a 403 Forbidden error. localhost:~ me$ wget " http://translate.google.com/translate_tts?ie=UTF-8&tl=en&q=hello+world

How can i save Text to Speech file as .wav/.mp3 format in Arabic language in External Storage?

泄露秘密 提交于 2019-12-05 05:05:15
I want to save audio file in Arabic language. for that I am using the code as below. i am trying it, but I am not able to save in Arabic language. its saves only in English language. please help me, Thanks package com.t; import java.io.File; import java.util.HashMap; import android.app.Activity; import android.os.Bundle; import android.os.Environment; import android.speech.tts.TextToSpeech; import android.speech.tts.TextToSpeech.OnInitListener; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget

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

不羁岁月 提交于 2019-12-05 04:58:05
I've created a Twilio application that involves using Twilio's TwimL <Say> 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 list of numbers, I have the application read back the list of numbers to confirm that the user has input them correctly. Since it's dynamic, I can't pre-record it--it has to be with <Say> , but Twilio reads it back way too quickly. I currently have the numbers played back with spaces and commas between them to slow them down, for example: '3, 6, 3, 8, 1

Adding Accents to Speech Generation

眉间皱痕 提交于 2019-12-05 03:23:31
The first part of this question is now its own, here: Analyzing Text for Accents Question: How could accents be added to generated speech? What I've come up with: I do not mean just accent marks, or inflection, or anything singular like that. I mean something like a full British accent, or a Scottish accent, or Russian, etc. I would think that this could be done outside of the language as well. Ex : something in Russian could be generated with a British accent, or something in Mandarin could have a Russian accent. I think the basic process would be this: Analyze the text Compare with a

Android TTS volume control

吃可爱长大的小学妹 提交于 2019-12-05 02:35:38
问题 Is there any way to control volume of TTS engine when sending request to TTS engine? Can I able to use AudioManager here? Thank You. 回答1: Yes, as your question asks, you are able to use AudioManager for TTS audio. If you want to set volume in your code, you'll want to use the getStreamVolume() and setStreamVolume() methods. If you want to give the user control over the volume (this may depend on how/when your program sets volume), this question points out that you have to call

SAPI 5 voice synthesis and C#

淺唱寂寞╮ 提交于 2019-12-05 01:33:36
问题 I have installed new SAPI5 voice. In computer settings of Speech program is new voice visible and available to use. But my program cannot find it. To find it, I am using this part of code, I use System.Speech.Synthesis namespace. SpeechSynthesizer s = new SpeechSynthesizer(); foreach (InstalledVoice v in s.GetInstalledVoices()) { st += v.VoiceInfo.Name+"\n"; } MessageBox.Show(st); The only voice found is Microsoft Anna. My code for speeking is as follow: s.SelectVoice("Eliska22k");//name of

iOS text to speech: What decides the default voice returned by [AVSpeechSynthesisVoice voiceWithLanguage]?

谁说胖子不能爱 提交于 2019-12-05 01:28:47
问题 AVSpeechSynthesisVoice.voiceWithLanguage has been introduced in iOS SDK 7.0. At that time, there is only one voice per language/locale. Since iOS SDK 9.0, more voices have been added for each language/locale. So Apple introduces an new API voiceWithIdentifier so you can get the specific voice you want. My question here is, what if we still use voiceWithLanguage in iOS 9 or above. What does this API exactly returns? And more importantly, does the returned voice changed between iOS versions and