# Transcribe

Transcribe is a tool for transcribing audio files using Google Speech API. It
is intended for bulk processing of large (> 1 min) audio files and automates
GCS upload (and removal). It currently supports flac files only.

# How to use

Ensure you have Google Speech API enabled in your project as described
here: https://cloud.google.com/speech/docs/getting-started. Note that using
the Google Speech API may not be free.

Install the transcribe tool:
```
$ go get github.com/herohde/transcribe
$ go install github.com/herohde/transcribe/cmd/transcribe
```

Run it:
```
$ transcribe [options] file [...]
```
By default, it will transcribe 'bar/foo.flac' into 'bar/foo.flac.txt'.

# Transcribe

Transcribe is a tool for transcribing audio files using Google Speech API. It
is intended for bulk processing of large (> 1 min) audio files and automates
GCS upload (and removal). It currently supports flac files only.

## How to use

First, ensure you have Google Speech API enabled in your project as described
[here](https://cloud.google.com/speech/docs/getting-started). Note that using
the Google Speech API may not be free.

Second, install
[gcloud](https://cloud.google.com/sdk/) and authenticate application default
credentials:
```
$ gcloud auth application-default login
```

Third, install the transcribe tool:
```
$ go get github.com/herohde/transcribe
$ go install github.com/herohde/transcribe/cmd/transcribe
```

Then run:
```
$ transcribe --project=myproject [options] file [...]
```
By default, it will transcribe 'bar/foo.flac' into 'foo.flac.txt'.

## License

Transcribe is released under the [MIT License](http://opensource.org/licenses/MIT).

Improve readme with the gcloud auth command
Improve readme with the gcloud auth command
