Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kubrianity/speech-recognition
This is the web speech API project recognizing the user speech and converting it to text
https://github.com/kubrianity/speech-recognition
Last synced: 30 days ago
JSON representation
This is the web speech API project recognizing the user speech and converting it to text
- Host: GitHub
- URL: https://github.com/kubrianity/speech-recognition
- Owner: Kubrianity
- Created: 2022-07-19T16:09:29.000Z (over 2 years ago)
- Default Branch: root
- Last Pushed: 2022-07-21T10:35:48.000Z (over 2 years ago)
- Last Synced: 2024-11-07T09:36:16.022Z (3 months ago)
- Language: HTML
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JavaScript 30 #20: speech-recognition
This is the web speech API project recognizing the user speech and converting it to text.## Installation
Clone this repository with the following command
```
git clone https://github.com/Kubrianity/speech-recognition.git
```
Change directory to the cloned folder
```
cd speech-recognition
```
Make sure that node and npm installed globally on your machine
```
node -v // node version installed on your machine
npm -v // npm version installed on your machine
```
Now install project dependencies and then start with the following commands
```
npm install
npm start
```
You will be able to view the project at your server written in the command prompt
http://localhost:3000
*Make sure that the browser is given permission to access the microphone*.
### Usage & Features
Once speech is recognized, the 'result' event of Web Speech Api is fired with returning boolean value, which enables the function accessing transcript and returning it as a string.
Paragraph content will be populated with speech text and with each pause, it will start with a new line.