Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Again.

Peter Sobota7f7e977747e
diff --git a/tests/mypy_fixtures/readme_quickstart.py b/tests/mypy_fixtures/readme_quickstart.py
index 212698e..a0a41f7 100644
--- a/tests/mypy_fixtures/readme_quickstart.py
+++ b/tests/mypy_fixtures/readme_quickstart.py
@@ -8,10 +8,8 @@ board = Pedalboard([Chorus(), Reverb(room_size=0.25)])
# Open an audio file for reading, just like a regular file:
with AudioFile("some-file.wav") as f:
-
# Open an audio file to write to:
with AudioFile("output.wav", "w", f.samplerate, f.num_channels) as o:
-
# Read one second of audio at a time, until the file is empty:
while f.tell() < f.frames:
chunk = f.read(int(f.samplerate))