webspeech-api

Google speech API - php does not return anything

Deadly 提交于 2019-12-10 17:23:05
问题 My code is inspired by this php version of full duplex google speech API for speech-to-text : http://mikepultz.com/2013/07/google-speech-api-full-duplex-php-version/ I have few flac files that do work and give the array output as explained on Mike's post. But for few flac files it just doesn't return anything as output. For example : http://gavyadhar.com/video/upload/Pantry_Survey.flac, no output is returned. But the same code works for this flac file: http://gavyadhar.com/video/upload/pantry

Web speech api not working currently in chromium / electron / nw js?

时光怂恿深爱的人放手 提交于 2019-12-10 14:57:53
问题 I have been creating a desktop application using electron, which uses the javascript web speech api. It was working perfectly until the last few weeks. Currently, it does not work. I tried using Nw js and I've also checked it in Chromium browser, where even the default Google's speech api demo site doesn't seem to work. But it is working perfectly in Google chrome browser. Is google revoking chromium from using the API? Is there any other option for me to use it in my desktop application. It

Web Speech API - SpeechGrammar

ぃ、小莉子 提交于 2019-12-10 11:19:26
问题 So I was looking through the Web Speech API documentation, and I came across this https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-speechgrammar Is it possible to use a SpeechGrammar object as a dictionary of words that the api understands? 回答1: Yes. That is exactly what it is for. MDN has a description of how to do recognition here: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition And a few open source examples that also make great starter code here:

Continuous Speech Recognition on browser like “ok google” or “hey siri”

℡╲_俬逩灬. 提交于 2019-12-10 00:05:01
问题 I am doing a POC and my requirement is that I want to implement the feature like OK google or Hey Siri on browser. I am using the Chrome Browser's Web speech api . The things I noticed that I can't continuous the recognition as it terminates automatically after a certain period of time and I know its relevant because of security concern. I just does another hack like when the SpeechReognition terminates then on its end event I further start the SpeechRecogntion but it is not the best way to

using multiple variables to open different links

时光总嘲笑我的痴心妄想 提交于 2019-12-08 05:02:36
问题 Edit, Updated see my main goal is first to let the user request a specific (book_name) by the voice (speech to text) then the book open to read it loudly (text to speech) and the last step is to print this book to braille, my stuck points is I didn't found a way to open the book as pdf so I just left him as a text area, and I don't know how to convert the text to braille letters with this code https://gist.github.com/meh/141520 My goal is to open different pages when calling different

How do I add a voice / language to speechSynthesis?

本小妞迷上赌 提交于 2019-12-07 12:50:11
问题 When I run speechSynthesis.getVoices() in Chrome, I get a list of possible voices. The list changes depending on the computer and version of Chrome. Is there any way I can extend support and add more voices? I feel like this could be done by asking a user to download a voice file for their chosen language. Do such files exist? Edit: This needs to work for both Windows and Mac computers. It also needs to be simple, so no scripts or anything that would require extensive technical knowledge. I'm

Web Speech API - SpeechGrammar

橙三吉。 提交于 2019-12-06 09:35:33
So I was looking through the Web Speech API documentation, and I came across this https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-speechgrammar Is it possible to use a SpeechGrammar object as a dictionary of words that the api understands? Yes. That is exactly what it is for. MDN has a description of how to do recognition here: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition And a few open source examples that also make great starter code here: https://github.com/mdn/web-speech-api 来源: https://stackoverflow.com/questions/28481339/web-speech-api

How do I add a voice / language to speechSynthesis?

百般思念 提交于 2019-12-06 03:48:41
When I run speechSynthesis.getVoices() in Chrome, I get a list of possible voices. The list changes depending on the computer and version of Chrome. Is there any way I can extend support and add more voices? I feel like this could be done by asking a user to download a voice file for their chosen language. Do such files exist? Edit: This needs to work for both Windows and Mac computers. It also needs to be simple, so no scripts or anything that would require extensive technical knowledge. I'm hoping for a "download and install" type of thing HOW TO ADD MORE VOICE FROM MICROSOFT EDGE TO CHROME

Continuous Speech Recognition on browser like “ok google” or “hey siri”

自闭症网瘾萝莉.ら 提交于 2019-12-04 21:52:54
I am doing a POC and my requirement is that I want to implement the feature like OK google or Hey Siri on browser. I am using the Chrome Browser's Web speech api . The things I noticed that I can't continuous the recognition as it terminates automatically after a certain period of time and I know its relevant because of security concern. I just does another hack like when the SpeechReognition terminates then on its end event I further start the SpeechRecogntion but it is not the best way to implement such a solution because suppose if I am using the 2 instances of same application on the

The right way to use SSML with Web Speech API

北城余情 提交于 2019-12-04 18:03:09
问题 Web Speech API specification says: text attribute This attribute specifies the text to be synthesized and spoken for this utterance. This may be either plain text or a complete, well-formed SSML document. For speech synthesis engines that do not support SSML, or only support certain tags, the user agent or speech engine must strip away the tags they do not support and speak the text. It does not provide an example of using text with an SSML document. I tried the following in Chrome 33: var