diff options
Diffstat (limited to 'examples')
| -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(). |
