Skip to content

Commit 5605ac5

Browse files
author
Jerjou Cheng
committed
Call out portaudio dependency.
1 parent 1be89c3 commit 5605ac5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

speech/api/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ for more information.
5252
$ pip install -r requirements-speech_streaming.txt
5353
```
5454
55+
The sample uses the [PyAudio][pyaudio] library to stream audio from your
56+
computer's microphone. PyAudio depends on [PortAudio][portaudio], which may
57+
need to be compiled when you install PyAudio. If you run into compilation
58+
issues that mention PortAudio, you may have to [install some
59+
dependencies][pyaudio-install].
60+
61+
[pyaudio]: https://people.csail.mit.edu/hubert/pyaudio/
62+
[portaudio]: http://www.portaudio.com/
63+
[pyaudio-install]: https://people.csail.mit.edu/hubert/pyaudio/#downloads
64+
5565
## Run the example
5666

5767
* To run the `speech_rest.py` sample:

0 commit comments

Comments
 (0)