diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2015-12-09 11:10:04 +0100 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2015-12-09 11:10:04 +0100 |
| commit | 6c313362da34c8d1dcda28f2e0c9c6ad84912e59 (patch) | |
| tree | 9d0101d58f3bd6c118512fe324ac4a52ec604f3f | |
| parent | 9217a2bdb23bf1d643fb7557451dd063a861044a (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.rst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
