speech recognition support in the web browser engine WebKit
Questions tagged [webkitspeechrecognition]
83 questions
0
votes
0 answers
I want to add Closed Captions for a SIP call
I have added a code which is showing captions of my mic. I want to capture the voice of the person in call and show the captions in my page in real time.
`function sipInitialize(){
JsSIP.debug.enable('JsSIP:*');
var socket = new…
0
votes
0 answers
Store webkitSpeechRecognition in browser (indexeddb)
For a project I've implemented a web speech api in a website/Progressive Web App which translates spoken voice to text. This all works fine, however, I would also like to use this without access to internet.
My initial thought was that I could save…

Martijn Siepel
- 29
- 4
0
votes
1 answer
webkitspeechrecognition - put in "period" instead of the punctuation "."
My implementation of webkitspeechrecognition stopped picking up command words (i.e. period, comma, new line) starting this week (Jan 15th, 2023).
I used the implementation from https://www.google.com/intl/en/chrome/demos/speech.html for the past 5…

juworld
- 140
- 1
- 15
0
votes
0 answers
function overspills into other function even though async await is being used
Problem
I am trying to pass a nested variable from one function to another, but it's not working as intended. It appears that my async await isn't working as intended, so the variable (content) that's getting passed between functions is an object,…

e-driver1
- 45
- 7
0
votes
1 answer
Web speech api returning old transcript
I have this service in angular to translate speech into text through webspeech
import { Injectable } from '@angular/core';
declare var webkitSpeechRecognition: any;
@Injectable({
providedIn: 'root'
})
export class VoiceRecognitionService {
…

user3653474
- 3,393
- 6
- 49
- 135
0
votes
1 answer
filter obscenities from window.webkitSpeechRecognition
I am using window.SpeechRecognition as a poor man's closed captioning for our church services.
occasionally the script misinterprets words as obscenities.
I did not see an option in window.SpeechRecognition to stop that from happening.
any…

Bryan Dellinger
- 4,724
- 7
- 33
- 79
0
votes
0 answers
Convert SpeechRecognitionResultList to array?
Is it possible to convert the SpeechRecognitionResultList to an array? It exposes an item getter and you can iterate over it with for of but i would like to convert to an array so I can use findIndex etc.
const speechRecognition = new…

rssfrncs
- 991
- 4
- 19
0
votes
0 answers
webkitSpeechRecognition "not-allowed" error in chrome extension
I am trying to create an extension that takes the audio from a tab and outputs text using webkitSpeechRecognition.
However, for some reason whenever I try to use speech recognition it errors with the error being "not-allowed".
My current code is…

MrSprinkleToes
- 11
- 4
0
votes
1 answer
How to disable sentence-level auto correction in SpeechRecognition Web Speech API
when I speak a sentence 'show tenet movie near me' automatically the speech recognition API changing my sentence to 'show tonight movie near me' the problem was the word tenet is changed to tonight

Abishek
- 47
- 1
- 1
- 7
0
votes
2 answers
Why is the same Speech Recognition code behaving differently every time i run?
Here is my code
export class recognition {
constructor() { }
public startrecognition() {
const voice_recognition = new webkitSpeechRecognition();
voice_recognition.continuous = false;
voice_recognition.interimresults = false;
…

Gopi Sai Ponnada
- 1
- 2
0
votes
1 answer
SpeechRecognition Is not recognizing the correct words or letters
A, B, C, D and so on appears on the screen, whereafter I want the user to say that same letter. But my problem is that speechrecognition is not catching the letters that I say out aloud... Sometimes it gets that İ say A, and sometimes 'most of the…

Onur Aydın
- 13
- 6
0
votes
1 answer
"Uncaught (in promise): TypeError: webkitSpeechRecognition is not a constructor
I'm trying to get SpeechRecognition to work in Firefox and understand that it's a problem as of last month DEC 2019.
This is the code I'm following starting at Basic Usage
WebKitSpeechRecognition
Here's my implementation in Typescript:
/**
* Start…

Peter The Angular Dude
- 1,112
- 5
- 26
- 53
0
votes
0 answers
Webkitspeech detect only audio from iframe video NOT user mic
so I have an iframe video in my html code

Mystery Man
- 535
- 2
- 7
- 20
0
votes
1 answer
Javascript: Value cannot pass through a condition although it is true
When I'm doing some stuff, I figure out a weird problem.
I try to make a voice recognition. The first part of the condition works correctly but it does not work for the second part.
var v;
function test() {
var ses = new…

Elhex
- 55
- 1
- 5
0
votes
1 answer
How to restart webkitSpeechRecognition without asking for microphone permission?
I used webkitSpeechRecognition to record user voice and using SpeechSynthesisUtterance speaks to the user, however, there has a problem for when the system speaking to the user, it will also record voice.
If I stop the recognition and restart, it…