0.0.3 • Published 4 years ago

rxjs-stt v0.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

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);
    }
});