An open API service indexing awesome lists of open source software.

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

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
```