Skip to main content

All Questions

1 vote
1 answer
227 views

How to synchronize SpeechSynthesis and Text Color Changes in Web Project

I'm currently working on a web project using the SpeechSynthesis API to read paragraphs of text on a webpage. I've been trying to synchronize the spoken words with the color changes in the text, but I'...
ThevinuDan's user avatar
5 votes
1 answer
2k views

Does the Web Speech API in Chrome (and Edge) use an offsite server for STT?

Recently I found the Web Speech API as well as a simple HTML/JS speech-to-text example from Google. I started playing with the API and made changes to the JS and HTML in the example above to see how ...
KJ7LNW's user avatar
  • 1,951
2 votes
0 answers
251 views

My JavaScript audio volume is not changing according to changes in volumeslider

I am new on JavaScript.I am trying to build a speech to text website using JavaScript. I am facing problems when dealing with audio volumes. Here the volume of audio speech(msg) is changing with ...
Dhiman's user avatar
  • 21
1 vote
0 answers
45 views

WebSpeech API keeps returning the same message in the Console per each sentence

I am trying to make a project where saying a note name will play the specified tone using WebSpeech API. When I say "C", the console should return "C" and play a file ("C.wav&...
Seychelles's user avatar
0 votes
0 answers
49 views

WebSpeechAPI to run on browser

I'm working as a software developer trainee in an organisation and I'm trying to achieve a webspeechApi code which can access browser.. suppose if I say 'open facebook' the browser should open ...
milind's user avatar
  • 1
0 votes
2 answers
2k views

How to make Animated Web Speech API UI in HTML

I have to create a animation Like Google.com Dekstop Mic shows (i.e. scaling of the mic border according to the loudness of voice). I have used the Web Speech API with reference from here (MDN) which ...
Website Developer's user avatar
4 votes
0 answers
458 views

Continue running WebApp with "Screen off/Background" on mobile devices

I am making a WebApp that uses WebSpeech API for Text to Speech. The problem I am facing is that whenever the screen goes off or browser window is switched, particularly on mobile devices, the speech ...
Yaksha's user avatar
  • 153
1 vote
0 answers
298 views

How to implement the capture audio/download feature for the generated Speech Audio from Web Speech API (window.speechSynthesis.speak()) call?

I want to be able to download the (Text to Speech) audio that is generated when we make window.speechSynthesis.speak() call! Below mentioned is one of the previous posts which discusses the same ...
Abhinav Porwal's user avatar
1 vote
2 answers
82 views

WebSpeechAPI to make a site accessible

WebSpeechAPI to make a site accessible but it first starts with the whole document and then the hovered element again. How to resolve this? I referenced most of the code from WebSpeechAPI MDN page. ...
Deepak Pawade's user avatar
2 votes
1 answer
5k views

Continuous Speech Recognition on browser like "ok google" or "hey siri"

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 ...
Arun Redhu's user avatar
  • 1,579
4 votes
1 answer
620 views

Can we use the Web Speech API in Google Chrome to recognize speech coming from other sources than the user's microphone?

I would like to use the Web Speech API in Google Chrome to recognize speech coming from a HTML5 <video> on a web page. Is there a way to use the Web Speech API with an audio input coming from ...
gaetanc's user avatar
  • 81
23 votes
2 answers
15k views

How to capture generated audio from window.speechSynthesis.speak() call?

Previous questions have presented this same or similar inquiry Can Web Speech API used in conjunction with Web Audio API? How to access audio result from Speech Synthesis API? Record HTML5 ...
guest271314's user avatar
16 votes
2 answers
3k views

The effect of the grammar in the Web Speech API

In examples for the Web Speech API, a grammar is always specified. For example, in MDN's colour change example, the grammar is: #JSGF V1.0; grammar colors; public <color> = aqua | azure | beige ...
Migwell's user avatar
  • 20.2k
2 votes
1 answer
2k views

WebSpeech Speech Synthesis: Pausing utterance1, playing another utterance2, and resuming utterance1 - possible?

I am using WebSpeech's speechSynthesis module to have a web application speak. However, it seems that you can only add utterances to a queue and then pause(), resume(), and cancel() the entire queue. ...
tborenst's user avatar
  • 992
1 vote
0 answers
217 views

Three.js -- webkitSpeechRecognition not working after deviceorientation event

In my JS code, i have the following listener: window.addEventListener('deviceorientation', setOrientationControls, true); ... function setOrientationControls(e) { if (!e.alpha) { ...
stackoverflowN's user avatar

15 30 50 per page