Questions tagged [webkitspeechrecognition]

speech recognition support in the web browser engine WebKit

83 questions
1
vote
1 answer

Annyang causes chrome ask to allow microphone before it starts

I've added [Annyang]: https://github.com/TalAter/annyang to my AngularJS app, just as shown in the demo. Problem is, that Chrome fires the pop up to allow using the microphone when the application is up, and not only when start using Annyang. Why…
Rajesh
  • 21
  • 1
  • 4
1
vote
0 answers

What services required to use webkitSpeechRecognition in Chrome Android

I am using Android board with Android 4.4.2 On OSboard not installed any services of google. But now I want to use webkitSpeechRecognition in chrome browser on this board. I installed Chrome Android but not working. What webkit is required for it…
1
vote
0 answers

Chromium ignores the grammar set for speech recognition

I'm using SpeechRecognition under Chromium (an interface of the Web Speech API) and have a grammar set for the recognition, defined in JSGF: "#JSGF V1.0 UTF-8; grammar animal_list; public = dog | cat | horse ;" It is successfully added to…
1
vote
1 answer

code not working when setTimeout is used

I am trying to write a code that could use voice input and based on input can migrate to another page. My code is not waiting when timeout is used and without timeout,the code is not waiting for input. HTML Page:
vish1990
  • 272
  • 3
  • 16
1
vote
0 answers

SpeechRecognition on chromium not working between 8pm and 3am

First some context : I have an orange pie (sort of raspberry pi 3) running on ARM so I can't install the real chrome. I have a Node.js app who is running on chromium, the voice recognition is client side. The voice recognition works great except…
1
vote
2 answers

WebkitSpeechRecognition stops, doesn't fire onend, at random

I'm trying to transcribe text using webkitSpeechRecognition. I found this example: https://developers.google.com/web/updates/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API?hl=en and have adopted it into my own site. This works…
1
vote
1 answer

webkitSpeechRecognition - pitch rate and volume of speech

I am trying to figure out how I can get the pitch, rate and volume of my speech. I am using the below code for speech to text: function startDictation() { if (window.hasOwnProperty('webkitSpeechRecognition')) { var recognition = new…
1
vote
0 answers

webkitSpeechRecognition in Chrome and censure

When using webkitSpeechRecognition in Chrome, I receive the result in which bad words are replaced with asterisk. How should I prevent this? I need the result to be with that bad words as is :)
tolec
  • 113
  • 1
  • 8
1
vote
1 answer

Adding words to the webkitSpeechRecognition() for speech recognition

I want to add words to the webkitSpeechRecognition() word library so that when I say these new words, they can be detected and written down. (Here is the link to the Web Speech API that I am using). I tried looking how to do this, but I can't find a…
1
vote
1 answer

HTML5 webkitSpeechRecognition stops recording after long silence

Even with "recognition.continuous = true", the recording stops after ~15sec of silence. I need to never stop recording until the user doesn't click the stop button, even after minutes of silence. I've already set the recording to restart on his…
1
vote
1 answer

Google / html5 voice recognition JavaScript SDK Chrome webkitSpeechRecognition

I'm using Google's Javascript SDK voice recognition (webkitSpeechRecognition) for Chrome where I automatically turn on the recognition process and it then submits whatever the user said into my app's submit form on the followig event: …
1
vote
0 answers

webkitSpeechRecognition - can't tell the difference between "two, seven" and "twenty-seven"

So I have this code in Google Chrome: var recognition = null; $(document).ready(function(){ recognition = new webkitSpeechRecognition(); recognition.continuous = true; recognition.interimResults = true; recognition.onresult =…
Eamorr
  • 9,872
  • 34
  • 125
  • 209
0
votes
1 answer

Executing code only if the browser is Google Chrome

I used webkitSpeechRecognition for voice controlled navigation on my website. It works perfectly fine on Google Chrome, but on other browsers such as Edge and Opera the website will actually break. How can I run the code responsible for firing this…
Moe_blg
  • 71
  • 4
0
votes
0 answers

Speech Recognition broke my React.Js web application on Multiple Browsers but works fine on Google Chrome

I was trying to implement a voice controlled navigation feature for my reactjs web application and I accidently broke it for Opera, Edge but it works fine on Google Chrome. I just introduced this code to my Main.js codebase: const history =…
Moe_blg
  • 71
  • 4
0
votes
1 answer

Chrome browser Web Speech API SpeechRecognition() only understands English (implementation of `lang` property)

My implementation of Web Speech API SpeechRecognition() in Chrome works great when I'm speaking English but in other languages it often returns English words. Did I implement this.recognition.lang incorrectly? The documentation gives only a basic…