From 6f89c6657d3a9c13cf438181989106a06c3c44fc Mon Sep 17 00:00:00 2001 From: puneith Date: Fri, 15 Jul 2016 17:14:00 -0700 Subject: [PATCH 1/9] Update README.md --- speech/api/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/speech/api/README.md b/speech/api/README.md index 3aac392d0893..4043045fe1db 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -56,7 +56,9 @@ Before running these samples perform the steps: ### 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]. +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. + +* You may run into compilation issues that mention PortAudio, in which case [install some dependencies][pyaudio-install]. * If you're running the `speech_rest.py` sample: From 8b3239dd1bb4121fa496520e678bb283808acfaa Mon Sep 17 00:00:00 2001 From: puneith Date: Fri, 15 Jul 2016 17:14:59 -0700 Subject: [PATCH 2/9] Update README.md --- speech/api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speech/api/README.md b/speech/api/README.md index 4043045fe1db..be5b08cc32b1 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -58,7 +58,7 @@ Before running these samples perform the steps: 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. -* You may run into compilation issues that mention PortAudio, in which case [install some dependencies][pyaudio-install]. +* You may run into compilation issues when doing pip install below, in which case [install some dependencies][pyaudio-install]. * If you're running the `speech_rest.py` sample: From 7dad23e3aef0a88af3b12ffaf28c40bfdd731f87 Mon Sep 17 00:00:00 2001 From: puneith Date: Fri, 15 Jul 2016 17:19:45 -0700 Subject: [PATCH 3/9] Update README.md --- speech/api/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/speech/api/README.md b/speech/api/README.md index be5b08cc32b1..b0f81fec30d6 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -48,7 +48,7 @@ Before running these samples perform the steps: cd python-docs-samples/speech/api ``` -* Create virtualenv +* Create [virtualenv][virtualenv] ``` virtualenv env source env/bin/activate @@ -78,6 +78,7 @@ The sample uses the [PyAudio][pyaudio] library to stream audio from your compute [pip]: https://pip.pypa.io/en/stable/installing/ [virtualenv]: https://virtualenv.pypa.io/en/stable/installation/ [home-page]: https://github.com/GoogleCloudPlatform/python-docs-samples +[virtualenv]: https://virtualenv.pypa.io/en/stable/installation/ ## Run the example From 56a16a1ae4ffec878ea894049ffe39142be93949 Mon Sep 17 00:00:00 2001 From: puneith Date: Fri, 15 Jul 2016 17:22:46 -0700 Subject: [PATCH 4/9] Update README.md --- speech/api/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/speech/api/README.md b/speech/api/README.md index b0f81fec30d6..f3761c9c5e5d 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -63,13 +63,13 @@ The sample uses the [PyAudio][pyaudio] library to stream audio from your compute * If you're running the `speech_rest.py` sample: ```sh - $ pip install -r requirements-speech_rest.txt + $ [pip][pip] install -r requirements-speech_rest.txt ``` * If you're running the `speech_streaming.py` sample: ```sh - $ pip install -r requirements-speech_grpc.txt + $ [pip][pip] install -r requirements-speech_grpc.txt ``` [pyaudio]: https://people.csail.mit.edu/hubert/pyaudio/ @@ -79,6 +79,7 @@ The sample uses the [PyAudio][pyaudio] library to stream audio from your compute [virtualenv]: https://virtualenv.pypa.io/en/stable/installation/ [home-page]: https://github.com/GoogleCloudPlatform/python-docs-samples [virtualenv]: https://virtualenv.pypa.io/en/stable/installation/ +[pip]: https://pip.pypa.io/en/stable/installing/ ## Run the example From 416c2b684326685f1f7ac3f9e19bfc643afeb667 Mon Sep 17 00:00:00 2001 From: puneith Date: Fri, 15 Jul 2016 17:23:34 -0700 Subject: [PATCH 5/9] Update README.md --- speech/api/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/speech/api/README.md b/speech/api/README.md index f3761c9c5e5d..b0f81fec30d6 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -63,13 +63,13 @@ The sample uses the [PyAudio][pyaudio] library to stream audio from your compute * If you're running the `speech_rest.py` sample: ```sh - $ [pip][pip] install -r requirements-speech_rest.txt + $ pip install -r requirements-speech_rest.txt ``` * If you're running the `speech_streaming.py` sample: ```sh - $ [pip][pip] install -r requirements-speech_grpc.txt + $ pip install -r requirements-speech_grpc.txt ``` [pyaudio]: https://people.csail.mit.edu/hubert/pyaudio/ @@ -79,7 +79,6 @@ The sample uses the [PyAudio][pyaudio] library to stream audio from your compute [virtualenv]: https://virtualenv.pypa.io/en/stable/installation/ [home-page]: https://github.com/GoogleCloudPlatform/python-docs-samples [virtualenv]: https://virtualenv.pypa.io/en/stable/installation/ -[pip]: https://pip.pypa.io/en/stable/installing/ ## Run the example From 92b819f688f8b59a49d3758ad017a3d65feb6357 Mon Sep 17 00:00:00 2001 From: puneith Date: Sun, 17 Jul 2016 21:39:21 -0700 Subject: [PATCH 6/9] Update README.md --- speech/api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speech/api/README.md b/speech/api/README.md index b0f81fec30d6..678d3b072a59 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -48,7 +48,7 @@ Before running these samples perform the steps: cd python-docs-samples/speech/api ``` -* Create [virtualenv][virtualenv] +* Create a [virtualenv][virtualenv] ``` virtualenv env source env/bin/activate From d1db2a858114cdacec4f00bba7123aa98b7bc137 Mon Sep 17 00:00:00 2001 From: puneith Date: Sun, 17 Jul 2016 21:40:44 -0700 Subject: [PATCH 7/9] Update README.md --- speech/api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speech/api/README.md b/speech/api/README.md index 678d3b072a59..6c18a85b87d1 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -58,7 +58,7 @@ Before running these samples perform the steps: 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. -* You may run into compilation issues when doing pip install below, in which case [install some dependencies][pyaudio-install]. +* Before proceeding [install some dependencies][pyaudio-install]. * If you're running the `speech_rest.py` sample: From 4bb1e4beda29bfda01bf8feeb89c8514f74a9e3b Mon Sep 17 00:00:00 2001 From: puneith Date: Mon, 18 Jul 2016 10:39:38 -0700 Subject: [PATCH 8/9] Update README.md --- speech/api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/speech/api/README.md b/speech/api/README.md index 6c18a85b87d1..0b13bbc898ec 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -56,9 +56,9 @@ Before running these samples perform the steps: ### 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. +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 installed separately, depending on your platform: -* Before proceeding [install some dependencies][pyaudio-install]. +* Install the [pyAudio dependencies][pyaudio-install]. * If you're running the `speech_rest.py` sample: From 781e13b3e39a34b89e47d87229ba0964cd07fa28 Mon Sep 17 00:00:00 2001 From: Puneith Kaul Date: Fri, 15 Jul 2016 17:14:00 -0700 Subject: [PATCH 9/9] Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Author: puneith --- speech/api/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/speech/api/README.md b/speech/api/README.md index 3aac392d0893..0b13bbc898ec 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -48,7 +48,7 @@ Before running these samples perform the steps: cd python-docs-samples/speech/api ``` -* Create virtualenv +* Create a [virtualenv][virtualenv] ``` virtualenv env source env/bin/activate @@ -56,7 +56,9 @@ Before running these samples perform the steps: ### 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]. +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 installed separately, depending on your platform: + +* Install the [pyAudio dependencies][pyaudio-install]. * If you're running the `speech_rest.py` sample: @@ -76,6 +78,7 @@ The sample uses the [PyAudio][pyaudio] library to stream audio from your compute [pip]: https://pip.pypa.io/en/stable/installing/ [virtualenv]: https://virtualenv.pypa.io/en/stable/installation/ [home-page]: https://github.com/GoogleCloudPlatform/python-docs-samples +[virtualenv]: https://virtualenv.pypa.io/en/stable/installation/ ## Run the example