Skip to content

Speech api changes #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 3 additions & 16 deletions speech/grpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,7 @@ or [homebrew](http://brew.sh/)) to convert audio files to raw format.

### Run the sync client

You can run the sync client like this:

```sh
$ bin/speech-sample-sync.sh --host=speech.googleapis.com --port=443 \
--uri=<audio file uri> --sampling=<sample rate>
```

Try a streaming rate of 16000 and the included sample audio file, as follows:
To use the sync method to transcribe a 16,000Hz sample audio file, run the following:

```sh
$ bin/speech-sample-sync.sh --host=speech.googleapis.com --port=443 \
Expand All @@ -91,22 +84,16 @@ $ bin/speech-sample-sync.sh --host=speech.googleapis.com --port=443 \

### Run the async client

You can run the async client like this:

```sh
bin/speech-sample-async.sh --host=speech.googleapis.com --port=443 \
--uri=<audio file uri> --sampling=<sample rate>
```
To use the async method to transcribe a 16,000Hz sample audio file, run the following:

Try a streaming rate of 16000 and the included sample audio file, as follows:
```sh
$ bin/speech-sample-async.sh --host=speech.googleapis.com --port=443 \
--uri=resources/audio.raw --sampling=16000
```

### Run the streaming client

You can run the streaming client as follows:
To use the streaming method to transcribe a 16,000Hz sample audio file, run the following:

```sh
$ bin/speech-sample-streaming.sh --host=speech.googleapis.com --port=443 \
Expand Down