FAQ Database Discussion Community


Android TextToSpeech.synthesizeToFile() file is not created

java,android,android-mediaplayer,text-to-speech
I am trying to implement a pause and play function to some text using tts and MediaPlayer. However, I can't seem to be able to create a .wav file using the synthesizeToFile function. I already added the required permission to the xml file: <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> This is the file...

Embed Google Text to Speach

php,html,web,text-to-speech,google-text-to-speech
Is there any Way to include the Google-translate Text-to-Speech to my Web-Page? (http://translate.google.com/translate_tts?tl=en&q=Hello%20Stack%20Overflow) And the more important question: Is this even allowed? If not, do you know any alternatives? Thanks in advance...

how to change Text to Speech voice and how to insert characters into char array

c++,arrays,windows,winapi,text-to-speech
I need to change the voie of the Text To Speech engine. when a menu is selected ID_SPEAK_PLAY I get the text of an edit box and simply read it. my situation can be solved in two ways : insert the XML code at the begining of ptrData without using...

Text to speech using shell script

text-to-speech
I am developing an application which requires 750-1000 audio files for validating the text that is being there in the audio. I am stuck in getting the audio files for testing. Is there any script or logic where can i get audio files of simple text For Eg: Hi how...

How do I add variables to Speech Recognition?

c#,variables,text-to-speech,speech,garbage
I've done some coding on a virtual assistant, and I've hit a block. Here's the code: private void Form1_Load_1(object sender, System.EventArgs e) { SrgsDocument commands = new SrgsDocument(); SrgsRule displayList = new SrgsRule("selectList"); SrgsOneOf listTypes = new SrgsOneOf(new string[] { "hi " + name + ", my name is" ,...

Text to speech with avatar lip sync, no plug-ins

javascript,html5,canvas,text-to-speech
Is there a JavaScript library or product that exists that provides text-to-speech for animated, speaking avatars, that does not use flash or any other plug-in. The idea is that I type in text and the avatars mouth moves as audio is played. The aim is a cross-browser, cross device, no-plugins,...

Calling Python file in Prolog Program

python,text,prolog,text-to-speech,swi-prolog
I want to use a python file in my prolog code. I want to pass the text generated in prolog into text_to_speech_converter of python.How can I do it? I prefer to keep the interface of prolog only.

unable to add reference to windows.media.speechsynthesis.dll

windows-phone-8.1,text-to-speech,system.windows.media
I am working on text to speech conversion in windows 8.1 (silverlight) and i need to access the SynthesizeTextToStreamAsync method for which I need to add reference to Windows.media.speechSynthesis. I am unable to add this reference to my project it shows me error message as A reference to a higher...

Is it available to change TTL(TextToSpeech) engine programmatically in Android?

android,text-to-speech
Im developing android application and i'd like to ask something. As you know, It is available to change TTL engine in configuration manually. However, what i really want to do is changing TTL engine programmatically. Unfortunately, I can't find the function for that in TextToSpeech class. There is only function,"getEngines()",...

Google Text to Speech to Mp3

java,text-to-speech
I'm working on making a private dictionary & need some help saving the Mp3 file grabbed using Google's TTS API. I've looked around Google & Stack, all I can find is something slightly related in python. I'm not too good with python which is why I prefer java in this...

Android TTS sound Leaked Service Connection and speak deprecated

java,android,text-to-speech,speech
I am using android tts in my class to just say a message like so: Problem: I get leaked service connection public class WorkTimerNotification extends ActionBarActivity implements TextToSpeech.OnInitListener { TextToSpeech tts; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_work_timer_notification); //line1 tts = new TextToSpeech(this,this); @Override public void onInit(int status) {...

Dynamic text for humanoid avatar

unity3d,game-engine,text-to-speech,avatar
I am new to game development, i used iclone character avatar and added some basic animations, text to speech, facial animation. I bring all my avatars, animations to Unity3d Via 3dxchange, only the text to speech audio file can't be imported to Unity 3d. My questions is possibly i can...

Text-to-speech (TTS) module that works under Python 3

python,python-3.x,text-to-speech
I have tried PyTTS (deprecated) and PyTTSx (the most recommended) and two Google TTS solutions (gTTS and another one by some guy named Hung Truong) but none of them worked under Python 3.4. It seems they haven't been ported to 3.x. I searched here on StackOverflow and Google, but all...

How can I control how Android TTS plays audio

android,text-to-speech
I have a class that uses the Android TTS API to transcribe text to audio. I can control the pitch and speed; but I noticed the engine requires a text string and also a hash object. I noticed some words are pronounced too quickly to be easily recognized, and inflection...

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

javascript,google-api,text-to-speech,http-status-code-403,google-translate
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...

How to get the elapsed time of Microsoft TTS speech?

c++,windows,text-to-speech,sapi
I now use following function to realize a TTS service. int tts(LPCWSTR text){ ::CoInitialize(NULL); CLSID CLSID_SpVoice; CLSIDFromProgID(_T("SAPI.SpVoice"), &CLSID_SpVoice); ISpVoice *pSpVoice = NULL; IEnumSpObjectTokens *pSpEnumTokens = NULL; if (FAILED(CoCreateInstance(CLSID_SpVoice, NULL, CLSCTX_INPROC_SERVER, IID_ISpVoice, (void**)&pSpVoice))){ return -1; } if (SUCCEEDED(SpEnumTokens(SPCAT_VOICES, NULL, NULL, &pSpEnumTokens))){ ISpObjectToken *pSpToken = NULL; SpFindBestToken(SPCAT_VOICES, L"Gender=Male", L"Name=Microsoft...

PowerPoint Text to Speech Macro

vba,excel-vba,text-to-speech,powerpoint-vba,powerpoint-2010
I want to be able to create a macro that will start text-to-speech on the text that is in the presenters notes. I will be applying the macro to a ActiveX button that will allow the user to start the reading and eventaully I would like to time the animations...

Is there a way to switch voice genders for AVSpeechSynthesisVoice?

ios,cocoa,text-to-speech
I'm building simple text to speech app and curious if it's possible to switch between genders of the voice? Any kind of help is highly appreciated!...

How to download audio result from converting text to speech using Speech Synthesis?

html5-audio,text-to-speech,audio-recording,speech-synthesis,google-text-to-speech
I'm using Speech Synthesis (Web Speech API) to convert text to speech, but I can't figure how to download produced audio. I thought about using recorder.js, but hope there is easier process to access it. For better illustration - IBM Watson Text-to-speech offers audio download....

SpeechSynthesisUtterance not working in mobile broswer

mobile,browser,text-to-speech,speech-synthesis,webspeech-api
I am using SpeechSynthesisUtterance in my mobile website. This code is okay when I use it in my desktop version website. But I found that the function is not working in mobile browser in document.ready as below: $(document).ready(function(){ var text_tts="say something"; speakText(text_tts); }); function speakText(text_tts){ var u = new SpeechSynthesisUtterance();...

How can I make Prolog speak?

prolog,text-to-speech
I have a list which holds some string values. A = [John, goes, to, party]. How can I pass this text to speech? Can any one tell me how to do text to speech conversion in prolog?...

OS and spd-say in python

python-3.x,command-line,text-to-speech
Here's my code: import os os.system("echo spd-say 'hello'") so why does this not work? it only prints spd-say hello ...

SOLVED: do any of the tts engines compatible with speech-dispatcher support sound icons?

text-to-speech
After digging around a bit I've found how to define the *SoundIconsFolder for a particular output module, but the only examples which define it say that the particular tts engine doesn't support sound-icons. Has anyone used this functionality, and if so, which output module are you using? -Scott...