https://github.com/kosich/rxjs-stt
RxJS wrapper for speech recognition Web API
https://github.com/kosich/rxjs-stt
javascript rxjs speech-recognition speech-to-text typescript
Last synced: 3 months ago
JSON representation
RxJS wrapper for speech recognition Web API
- Host: GitHub
- URL: https://github.com/kosich/rxjs-stt
- Owner: kosich
- License: mit
- Created: 2020-07-15T23:16:40.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T20:08:12.000Z (over 2 years ago)
- Last Synced: 2025-03-12T21:40:29.983Z (3 months ago)
- Topics: javascript, rxjs, speech-recognition, speech-to-text, typescript
- Language: TypeScript
- Homepage:
- Size: 474 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A RxJS wrapper around browser native [SpeechRecognition](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition)
Try it [**online**](https://stackblitz.com/edit/rxjs-stt?file=index.ts)
## Install
```
npm i rxjs-stt
```## Use
```js
import { listen } from 'rxjs-stt';listen({ lang: 'en' }).subscribe(e => {
if (e.type == 'result') {
console.log(e.results[0][0].transcript);
}
});
```## Enjoy 🙂