Skip to content

Documentation fix #413

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
12 changes: 4 additions & 8 deletions speech/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,20 @@ for more information.

### Install the dependencies

The sample uses the [PyAudio][pyaudio] library to stream audio from your computer's microphone. PyAudio depends on [PortAudio][portaudio], which may need to be compiled when you install PyAudio. If you run into compilation issues that mention PortAudio, you may have to [install some dependencies][pyaudio-install].

* If you're running the `speech_rest.py` sample:

```sh
$ pip install -r requirements-speech_rest.txt
$ sudo pip install -r requirements-speech_rest.txt
```

* If you're running the `speech_streaming.py` sample:

```sh
$ pip install -r requirements-speech_grpc.txt
$ sudo pip install -r requirements-speech_grpc.txt
```

The sample uses the [PyAudio][pyaudio] library to stream audio from your
computer's microphone. PyAudio depends on [PortAudio][portaudio], which may
need to be compiled when you install PyAudio. If you run into compilation
issues that mention PortAudio, you may have to [install some
dependencies][pyaudio-install].

[pyaudio]: https://people.csail.mit.edu/hubert/pyaudio/
[portaudio]: http://www.portaudio.com/
[pyaudio-install]: https://people.csail.mit.edu/hubert/pyaudio/#downloads
Expand Down