const recognition = new (
window.SpeechRecognition || window.webkitSpeechRecognition
)();
recognition.addEventListener("start", () => {
console.log("Speech recognition service has started");
});SpeechRecognition: start event / notebook
SpeechRecognition: start event
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
recognition.onstart = () => {
console.log("Speech recognition service has started");
};