text-to-speech

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

我是研究僧i 提交于 2019-12-07 03:16:40
问题 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,

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

戏子无情 提交于 2019-12-07 02:11:39
问题 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

Adding Accents to Speech Generation

為{幸葍}努か 提交于 2019-12-07 00:15:08
问题 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

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

空扰寡人 提交于 2019-12-06 23:58:02
问题 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

Google tts api giving me blank mp3

此生再无相见时 提交于 2019-12-06 22:02:39
I'm trying to use google text-to-speech but the service not giving me. I'm using this url to get mp3 : http://translate.google.com/translate_tts?ie=utf-8&tl=en&q={$text} Service return the error : our client does not have permission to get URL. How can I fix this ? Using cURL will avoid some checks: <?php header("Content-Type: audio/mpeg"); $text = urlencode('my text'); $url = "http://translate.google.com/translate_tts?ie=utf-8&tl=en&q=".$text; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0

System.Speech.Synthesis hangs with high CPU on 2012 R2

耗尽温柔 提交于 2019-12-06 17:11:03
问题 I have an asp.net MVC application that has a controller action that takes a string as input and sends a response wav file of the synthesized speech. Here is a simplified example: public async Task<ActionResult> Speak(string text) { Task<FileContentResult> task = Task.Run(() => { using (var synth = new System.Speech.Synthesis.SpeechSynthesizer()) using (var stream = new MemoryStream()) { synth.SetOutputToWaveStream(stream); synth.Speak(text); var bytes = stream.GetBuffer(); return File(bytes,

Windows 10 - System.Speech.Synthesis cannot get Mobile version of voice

匆匆过客 提交于 2019-12-06 16:43:38
In my Windows 10's Language, I have installed 2 version of English Language: US United Kingdom Therefore, in [Settings] > [Time & language] > [Speech] Under the section [Text-to-Speech], I can see the following options: Microsoft David Mobile Microsoft George Mobile Microsoft Susan Mobile Microsoft Hazel Mobile Microsoft Zira Mobile Microsoft Mark Mobile but, in C# WinForm, by using the following code: using System.Speech.Synthesis; SpeechSynthesizer ss = new SpeechSynthesizer(); ss.GetInstalledVoices(); I can only get: Microsoft David Desktop Microsoft Hazel Desktop Microsoft Zira Desktop I

FreeTTS - java.lang.ClassNotFoundException: javax.speech.EngineCentral

喜你入骨 提交于 2019-12-06 16:08:09
I have a problem, and I know this might similiar to the ones that are online, but I have followed every instruction I have found online and I am still getting this problem. Basically I am making a GUI with a Virtual Keyboard, and whatever the user types, I want the user to be able to click a button and I want a speech synthesis to convert the text-to-speech. I have looked online and found that the easiest and most common open software used was freeTSS. I have installed freeTSS and followed the instructions. I have then taken the following code from the online community: import java.util.*;

How to fix compiler errors in SAPI 5.1 Header Files

天涯浪子 提交于 2019-12-06 14:51:39
I got a lot of errors from SAPI 5.1 provided header files and cannot figure out how to fix those problems. Following is a simple Text to Speech program from Microsoft’s How to Video Presentation . The presenter said, if you have installed the most updated packages, you will have no problem compile this program. But he is using Video Studio 2005; apparently the “most updated” refers a few years ago when the presentation was given. I think these errors are caused version miss match. I am using Windows XP SP3. I have Visual Studio 2008 SP1, Visual Studio 2008 SDK 1.1, Windows SDK v6.0A(come with

JS/JQuery text to speech: How to chain audios?

不羁岁月 提交于 2019-12-06 14:36:57
Given n different words: var text = [ "bèijing Beijing Shanghai"] var words= [ "bèijing", "Beijing", "Shanghai" ]; Given n different .ogg audio files with a known locations : <!-- AUDIOS FILES --> <audio id="id1" src="/audio/Zh-bèijing.ogg"></audio> <audio id="id2" src="/audio/Zh-Beijing.ogg"></audio> <audio id="id3" src="/audio/Zh-Shanghai.ogg"></audio> I use JS getElementById('...').play() , which I run using an onclick event over an HTML element: <!-- HTML --> <div id="play" onClick="document.getElementById('id1').play();"> <button>Play</button> </div> This allow me to play one audiofile.