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
0 answers

the speak function in web speech in java script doesn't work inside foreach loop?

The speak function in web speech in java script doesn't work inside foreach loop ? if(com1[0]=="timeline") { $(function(){ $.ajax({ url: 'get_tweets.php', type: 'GET', success: function(response) { if (typeof response.errors…
0
votes
1 answer

Remember Web Speech API

I was able to start the speech recognition on page load: var recognition = new webkitSpeechRecognition(); recognition.continuous = true; recognition.interimResults = true; recognition.onresult = function(e) { for (var i = e.resultIndex; i <…
trahloff
  • 607
  • 1
  • 9
  • 17
0
votes
1 answer

Web speech api with default timeout in Javascript

I'm using following demo to recognize speech. It's working but sometimes taking more time to load or recognize the speech text. Not sure why it is! But is there any way to set default timeout for the recognize function so that if default maximum…
immayankmodi
  • 8,210
  • 9
  • 38
  • 55
0
votes
1 answer

Web speech api recognition word in sentence

I try with my programm to recognise a specific word when I speek a sentence, it's use Web speech API. When I speek the word alone, my programm work fine, but when I speek it in a sentence, my programm doesn't run. Thank's to tell me where is the…
user3324607
0
votes
1 answer

AngularJs How to detect change in scope variable object

I'm using angular-webspeech-directive Here's the HTML code: TestBed
bherto39
  • 1,516
  • 3
  • 14
  • 29
0
votes
1 answer

How to working with multiple button recognizer at HTML5 web speech API

i'm working about education web that recognize the phonem of user voice then check whether the word is true or false my HTML
0
votes
1 answer

Server-centric application that can access client-side API?

I'm starting to plan a little project, the application I'm building needs to access the client-side JavaScript APIs to utilize things like the Web Speech API and the Camera API. I also noted that the application should be able to perform lengthy…
0
votes
1 answer

HTML5 Speech Synthesis API - Only able to use the "native" voice

I have a web application that makes use of the HTML5 speech synthesis API and it works - but only with the native voice. Here's my code: var msg = new SpeechSynthesisUtterance(); var voices; window.speechSynthesis.onvoiceschanged = function() { …
Sean Morris
  • 135
  • 2
  • 10
0
votes
1 answer

Drupal Webspeech

We are using webspeech(https://www.drupal.org/project/webspeech) module for text-to-speech in one of our project. Basic functionality is working fine. But when we open this site in mobile devices (samsung, apple, sony) TTS feature is not working and…
joy d
  • 408
  • 2
  • 13
0
votes
0 answers

How to use SSML with Web Speech API

var msg = new SpeechSynthesisUtterance(); msg.text = "ssml"; speechSynthesis.speak(msg); It did not work. The voice attempted to narrate the XML tags. Is this code valid? Do I have to provide an XMLDocument object instead?
0
votes
0 answers

Webpage JS to Chrome App (Web Speech API)

I have a webpage that I have been testing out Googles Web Speech API on and I was looking in to creating a Chrome application that utilises this. I know for the API to work it has to be run though a webserver not from file so I don't know if a…
0
votes
1 answer

How to continue recognition in the Web Speech API without repeating the permissions info bar?

I'm a bit perplexed by the Web Speech API: namely, I've not figured out how to incrementally handle recognition. Suppose I have three inputs: And I'd like to recognize three input words, shifting focus to the…
user2467065
0
votes
1 answer

JavaScript Web Speech API when to use .start() as opposed to .speechstart()?

I am trying to create a web application using the Web Speech API where at the start the user clicks a button to start the speech recording. I am trying to have it stop automatically when the user stops talking, then I want to use the Google…
jerryeight
  • 11
  • 2
0
votes
1 answer

Use Web Speech API implementation in Google Chrome to circumvent rate limit of standard API?

To use Google's Speech API directly it is now required that you obtain an API key. To get that key you must subscribe to the chromium-dev@chromium.org newsgroup, and then follow a few steps and Google will give you a developer's key that is "not for…
0
votes
0 answers

Web Speech API in_array

If have this code and it works like charm, but after the first result the in_array function only gives me "false". I cant find the Problem. Every time I restart the recognition, it works for one phrase... var myArray = [ 'Kontakt', 'gehe zu…
1 2 3
14
15
German