rxjs-stt
v0.0.3
Published
RxJS speech recognition wrapper
Downloads
21
Maintainers
Readme
RxJS wrapper for speech recognition Web API
npm i rxjs-tts
Try it online: https://stackblitz.com/edit/rxjs-stt?file=index.ts
About
This is a RxJS wrapper around browser native SpeechRecognition.
Usage
import { listen } from 'rxjs-stt';
listen({ lang: 'en' }).subscribe(e => {
if (e.type == 'result') {
console.log(e.results[0][0].transcript);
}
});