diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2019-09-20 10:03:42 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2019-09-20 10:03:42 +0200 |
| commit | 78f17f0e3908659dcc1dfc78152ac4a11bd14fdc (patch) | |
| tree | 8245591a1252631055b92a22b438de67a9ea7ac7 | |
| parent | a82b9b56d44ed37c587648685826ad56b9177533 (diff) | |
DOC: A few spelling fixes
| -rwxr-xr-x | examples/play_long_file.py | 2 | ||||
| -rwxr-xr-x | examples/rec_gui.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/play_long_file.py b/examples/play_long_file.py index e018fd9..198e520 100755 --- a/examples/play_long_file.py +++ b/examples/play_long_file.py @@ -103,7 +103,7 @@ try: except KeyboardInterrupt: parser.exit('\nInterrupted by user') except queue.Full: - # A timeout occured, i.e. there was an error in the callback + # A timeout occurred, i.e. there was an error in the callback parser.exit(1) except Exception as e: parser.exit(type(e).__name__ + ': ' + str(e)) diff --git a/examples/rec_gui.py b/examples/rec_gui.py index f1528e7..d272843 100755 --- a/examples/rec_gui.py +++ b/examples/rec_gui.py @@ -25,7 +25,7 @@ import soundfile as sf def file_writing_thread(*, q, **soundfile_args): - """Write data from queue to file until *None* is recieved.""" + """Write data from queue to file until *None* is received.""" # NB: If you want fine-grained control about the buffering of the file, you # can use Python's open() function (with the "buffering" argument) and # pass the resulting file object to sf.SoundFile(). |
