summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2015-12-09 11:10:04 +0100
committerMatthias Geier <Matthias.Geier@gmail.com>2015-12-09 11:10:04 +0100
commit6c313362da34c8d1dcda28f2e0c9c6ad84912e59 (patch)
tree9d0101d58f3bd6c118512fe324ac4a52ec604f3f
parent9217a2bdb23bf1d643fb7557451dd063a861044a (diff)
DOC: change myrecording2 -> myrecording
The variable name is re-used anyway, so there is no point in changing it here.
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 9e36640..451c562 100644
--- a/README.rst
+++ b/README.rst
@@ -180,7 +180,7 @@ To play back an array and record at the same time, use `sounddevice.playrec()`:
.. code:: python
- myrecording2 = sd.playrec(myarray, fs, channels=2)
+ myrecording = sd.playrec(myarray, fs, channels=2)
The number of output channels is obtained from ``myarray``, but the number of
input channels still has to be specified.
@@ -191,7 +191,7 @@ Again, default values can be used:
sd.default.samplerate = fs
sd.default.channels = 2
- myrecording2 = sd.playrec(myarray)
+ myrecording = sd.playrec(myarray)
In this case the number of output channels is still taken from ``myarray``
(which may or may not have 2 channels), but the number of input channels is