https://github.com/brookr/dr-captain
Transcribed audio, piped to a Google Sheet
https://github.com/brookr/dr-captain
Last synced: 11 months ago
JSON representation
Transcribed audio, piped to a Google Sheet
- Host: GitHub
- URL: https://github.com/brookr/dr-captain
- Owner: brookr
- Created: 2017-08-06T07:34:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-07T23:25:21.000Z (almost 9 years ago)
- Last Synced: 2025-02-26T20:14:27.217Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Doctor Captain
Live captioning service, with crowd-sourced corrections.
Transcription provided by Google Speech API. The source code is based on the streaming recognizer [example](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/speech/recognize.js) they provide.
## Setup
1. [Install SoX](https://www.npmjs.com/package/node-record-lpcm16#dependencies)
1. Get a Google Cloud Platform account: https://console.cloud.google.com/freetrial
1. Set up a service account key: https://console.cloud.google.com/apis/credentials
1. Make sure to .gitignore it.
1. gcloud auth activate-service-account --key-file=service-account-key.json
## Usage
Start up the program, specifying the Google Doc you want to write to, and optionally the threshold for audio to be considered 'silence' (scale: 0-1):
```
node app.js seattle-201d25-captions 0.02
```