Skip to content

Commit

Permalink
Merge pull request #271 from danaharon/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
puneith authored Jul 12, 2016
2 parents 5a6d2ca + 0f7846d commit 82c5ae9
Showing 1 changed file with 3 additions and 16 deletions.
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

0 comments on commit 82c5ae9

Please sign in to comment.