speech-synthesis

web speech api - speech synthesis .lang property not working

ε祈祈猫儿з 提交于 2019-12-02 05:16:43
im trying to use web speech api to transcript a word in Portuguese, i set the property to 'pt-BR' ( unfortunately Portuguese - european is not supported) but, always replies in english. Can someone help? Thanks code: <script type="text/javascript"> var synth = window.speechSynthesis; function falatarea(){ var utteranceY = new SpeechSynthesisUtterance(); utteranceY.text = "teste"; utteranceY.lang = "pt-BR"; utteranceY.voice = "pt-BR"; window.speechSynthesis.speak(utteranceY); } </script> Seems like Chrome broke recently. I had code working, now its not. https://code.google.com/p/chromium/issues

SpeechSynthesis in Android-Chrome: cannot change English voice from US English

我们两清 提交于 2019-12-01 21:12:42
I'm using the speech synthesis API on Android-Chrome. The issue is that although there are 4 English voices available, it is always US English that is used by the browser, no matter what the code specifies. I can use other languages e.g. French, just not other English voices e.g en-AU, GB, or IN. This code filters British English voice objects from the getVoices array and uses the first to utter the word 'tomato'. The problem is that the word is always pronounced "to-may-lo" not "to-mar-to" which means my text doesn't rhyme as it should. The voice object that was used is displayed and (on the

SpeechSynthesis.speak (in Web Speech API) always stops after a few seconds in Google Chrome

China☆狼群 提交于 2019-12-01 15:19:01
When using the speak function in the Web Speech API, in Chrome the speaking stops abruptly after a few seconds, in the middle of the text given to it, in a seemingly random place (without reaching the end). This only happens in Chrome (works well on Firefox), tested on two different computers/systems. Have a look at this jsfiddle to see/listen: https://jsfiddle.net/fv9ochpq/ You can see that the SpeechSynthesis object .speaking flag stays on(true) after it stops speaking. I haven't seen any documented limit to the text passed to the utterance. Is this a Google Chrome bug? BTW, I've known about

How to add custom SR (Speech Recognition) to Microsoft SAPI

喜夏-厌秋 提交于 2019-12-01 13:41:07
I have a Speech Recognition application for a Language X. This language is not supported by Microsoft SAPI. How can I add this SR for Language X to Microsoft SAPI so that I can use it via Microsoft SAPI ? So What I wonder is Can I add a custom SR to Microsoft SAPI? If so How? If It is a complex process, where to find details? SAPI is just the application programming interface, it only provides the connector for the speech recognition engine. There could be multiple implementations of the same interface. If default implementation by Microsoft doesn't include language X you have multiple choices

getting started with speech recognition and speech synthesis

喜你入骨 提交于 2019-12-01 12:56:39
问题 i want to get started with speech recognition and speech synthesis in Prototype based on speech recognition somebody told me to use microsoft speech server (sdk and so on) when i have this, how do i programm an application, and with which programming language (development enviroment?)? has someone experience with asterisk or SVOX? i need to do: speech recognition speech synthesis i doesn't have to be a very good speech recognition - i think 30 -50 words should be enough for the beginning. i'm

How to install Speech to text in Google Glass?

橙三吉。 提交于 2019-12-01 11:18:22
I developed an app using the Android 4.1.2 and speech to text is working well but when I tried it on the Google Glass it is not working(Activity not found exception). This is my Speech to text Code Intent intent = new Intent( RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, "en-US"); try { startActivityForResult(intent, requestCode); } catch (ActivityNotFoundException a) { Toast t = Toast.makeText(getApplicationContext(), "Opps! Your device doesn't support Speech to Text", Toast.LENGTH_SHORT); } I tried to install the Speech Synthesis apk

Microsoft.Speech.Synthesis does not work for Text To Speech BUT System.Speech.Synthesis works.Why?

你离开我真会死。 提交于 2019-12-01 09:27:48
I just try to run simple microsoft example for Text To Speech using using Microsoft.Speech.dll; using System; using Microsoft.Speech.Synthesis; namespace TTS { class Program { public static void Main(string[] args) { Console.WriteLine("Testing TTS!"); // Initialize a new instance of the SpeechSynthesizer. using (SpeechSynthesizer synth = new SpeechSynthesizer()) { // Output information about all of the installed voices. Console.WriteLine("Installed voices -"); foreach (InstalledVoice voice in synth.GetInstalledVoices()) { VoiceInfo info = voice.VoiceInfo; Console.WriteLine(" Voice Name: " +

How to install Speech to text in Google Glass?

我只是一个虾纸丫 提交于 2019-12-01 07:28:29
问题 I developed an app using the Android 4.1.2 and speech to text is working well but when I tried it on the Google Glass it is not working(Activity not found exception). This is my Speech to text Code Intent intent = new Intent( RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, "en-US"); try { startActivityForResult(intent, requestCode); } catch (ActivityNotFoundException a) { Toast t = Toast.makeText(getApplicationContext(), "Opps! Your device

Voice Output in iOS

岁酱吖の 提交于 2019-12-01 07:12:01
问题 Is it possible to access the speech synthesis feature of the iOS that is used for accessibility? 回答1: Here is an example using AVSpeechSynthesizer on iOS 7: AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc]init]; AVSpeechUtterance *utterance = [AVSpeechUtterance speechUtteranceWithString:@"Hey Guys"]; [synthesizer speakUtterance:utterance]; To change the voice use: utterance.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"de-DE"]; To get a list of all voices: NSLog(@"voices

C# Speech Recognition

▼魔方 西西 提交于 2019-12-01 01:20:39
问题 I am making a Smart House Control System right now, and I have a little problem. I was thinking on using Cosmos for a base system, and adding the needed namespace libraries to it, but as the usual System.Speech.Recognition namespace depends too much on Windows Speech API, I have to forget about using it. So my question is, is there any (free if possible) voice recognition and/or speech speech synthesizer library for C#, what has the following: support for multi-language speaking extracting