Questions tagged [webspeech-api]

A JavaScript API that allows web pages to include speech recognition and synthesis functionality.

This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control. The JavaScript API allows web pages to control activation and timing and to handle results and alternatives.

References

Web Speech API Specification

Web Speech API Specification with errata applied

214 questions
0
votes
1 answer

How can i use web speech api and agora.io simultaneously?

I am using Agora.io for a web application (web SDK). I would like to use the web speech api on top of streaming video and audio. The web speech api works as long as I do not have a stream running. It looks like the Agora.io web SDK monopolize the…
Juichi
  • 1
0
votes
1 answer

Word error rates for Google Cloud Speech API vs Web Speech API

I'm currently using W3C Web Speech API for Spanish and Mandarin. Overall the recognition is okay, but there are many errors (especially with single words), and sometimes transcribed Spanish words arbitrarily add accents, e.g., lo siento ==> lo…
user3871
  • 12,432
  • 33
  • 128
  • 268
0
votes
0 answers

Is it a bug of web speech API?

I wrote the code to speak the text of current page. Here is my code : $('#speak').on('click', function () { if(!('speechSynthesis' in window)){ alert('This browser doesn\'t support this feature.\n Try again with Chrome browser'); …
0
votes
1 answer

Any way to convert speech to text like google do for searchbox for iphone?

How to convert speech to text on iphone chrome browser. I have done using speech recognition API for android devices and desktops,laptop but this API is not working on iphone. Any suggestions?
0
votes
1 answer

Web Speech API - DON'T ignore ambient noise/music

So although it's still a little shocking to me, Google's default speech recognition completely and totally ignores music/ambient noise. The problem is, for my use case I want it to actually try to transcribe the music! I'm using the Web Speech API…
cuuupid
  • 912
  • 5
  • 20
0
votes
0 answers

JavaScript speech-recognition distinguishing single letter from words?

Using Speech recognition I have been able to make a simple UI. I wanted to add some finer control but hit a roadblock. When the user navigates using letters such as c, a, t and says them quickly, the speech recognition will think that the user said…
Dzyuv001
  • 318
  • 1
  • 6
  • 18
0
votes
1 answer

Web Speech API Bug?

Here in their documentations, they said: The onspeechstart property of the SpeechRecognition interface Fired when sound that is recognised by the speech recognition service as speech has been detected. With that in mind why even when I cough or make…
Sara Ree
  • 3,417
  • 12
  • 48
0
votes
0 answers

How do I convert long sentences from speech to text using WebSpeech API?

So far I have been able to convert about 4-5 words from speech to text using the Webspeech API. my source looks like this; var SpeechRecognition = SpeechRecognition || webkitSpeechRecognition var recognition = new…
0
votes
0 answers

How to Stop this unwanted loop?

This JavaScript code is a small part of Web Speech API to implement Speech Recognition. "recognition.onend function" will be fired Whenever speech recognition service has disconnected, for example when "recognition.stop()" happens. Now The problem…
user8764001
0
votes
2 answers

Issue To Modify Web Speech API?

Thanks to Matthew Terentjev's great job Here we can do Speech Recognition Online using javascript in Articulate Storyline. The code below is triggered via a button. it is simple and clean and that's what confuses me more, I tried to do some…
user5607806
0
votes
1 answer

Android WebView as Chrome v25+

The short answer is : Can we use Android Studio widget WebView with all Chrome Browser features? (i searched for answers on stackoverflow, but they all are old, i hope if something has been changed) And the long answer : I got customers who asked me…
Bios90
  • 801
  • 2
  • 14
  • 26
0
votes
0 answers

Web Speech API inside Chrome extension

I'm trying to use Web Speech API in my Chrome extension, but I'm getting not-allowed error. I've read that this error occurs when a website without SSL tries to use Web Speech API, so is that means it's impossible to use it in a Chrome…
Eliran Pe'er
  • 2,569
  • 3
  • 22
  • 33
0
votes
1 answer

How to implement Web Speech API in react native?

Simple question. How can i use Mozilla's Web Speech API in react native project? can i implement webapp or window interfaces in RN?
Alper M.
  • 143
  • 3
  • 8
0
votes
2 answers

Odd behaviour in Google Web Speech API

I'm working with Google's Web Speech API using Google Chrome (55.0.2883.87) and I'm experiencing some very weird behaviour. When attempting to speak out names, followed by a number (like John 4) it usually just speaks out the name and the number, as…
0
votes
0 answers

SpeechSynthesis: Lang vs Voice

The SpeechSynthesisUtterance interface provides two options for setting what voice gets used: voice and lang. lang takes a language code like en-US or es-ES. voice takes in a SpeechSynthesisVoice object that you get from…