Skip to content

Commit 3048d29

Browse files
authored
Merge pull request GoogleCloudPlatform#272 from GoogleCloudPlatform/speech_api_changes
Speech api changes
2 parents fdd5eb2 + 82c5ae9 commit 3048d29

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

speech/grpc/README.md

+3-16
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,7 @@ or [homebrew](http://brew.sh/)) to convert audio files to raw format.
7575

7676
### Run the sync client
7777

78-
You can run the sync client like this:
79-
80-
```sh
81-
$ bin/speech-sample-sync.sh --host=speech.googleapis.com --port=443 \
82-
--uri=<audio file uri> --sampling=<sample rate>
83-
```
84-
85-
Try a streaming rate of 16000 and the included sample audio file, as follows:
78+
To use the sync method to transcribe a 16,000Hz sample audio file, run the following:
8679

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

9285
### Run the async client
9386

94-
You can run the async client like this:
95-
96-
```sh
97-
bin/speech-sample-async.sh --host=speech.googleapis.com --port=443 \
98-
--uri=<audio file uri> --sampling=<sample rate>
99-
```
87+
To use the async method to transcribe a 16,000Hz sample audio file, run the following:
10088

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

10794
### Run the streaming client
10895

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

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

0 commit comments

Comments
 (0)