DeepSpeech-examples/web_microphone_websocket
Hadran Ayoub 49b9832187 Bump version from 0.8.0 to 0.9.3 in branch r0.9
Bump DeepSpeech version from 0.8.0 to 0.9.3 in branch r0.9
2021-01-06 18:48:06 +01:00
..
public Revert "Merge pull request #73 from lissyx/master-stt-rename" 2020-08-25 16:49:29 +02:00
src Uplift new examples from r0.6 2020-04-23 23:44:42 +02:00
test Uplift new examples from r0.6 2020-04-23 23:44:42 +02:00
.gitignore Uplift new examples from r0.6 2020-04-23 23:44:42 +02:00
Readme.md Bump version from 0.8.0 to 0.9.3 in branch r0.9 2021-01-06 18:48:06 +01:00
package.json Bump version from 0.8.0 to 0.9.3 in branch r0.9 2021-01-06 18:48:06 +01:00
server.js Bump version from 0.8.0 to 0.9.3 in branch r0.9 2021-01-06 18:48:06 +01:00
test.sh Bump version from 0.8.0 to 0.9.3 in branch r0.9 2021-01-06 18:48:06 +01:00

Readme.md

Web Microphone Websocket

This is an example of a ReactJS web application streaming microphone audio from the browser to a NodeJS server and transmitting the DeepSpeech results back to the browser.

Download the pre-trained model (1.8GB):

wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.pbmm
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.scorer

Install:

yarn install

Run ReactJS Client:

yarn start

Run NodeJS Server (in a separate terminal window):

node server.js