Skip to content

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

Simplify quickstart example as of v0.7.7.

Peter Sobot9e2561b8c75d
diff --git a/README.md b/README.md
index b0846ff..a4eae0e 100644
--- a/README.md
+++ b/README.md
@@ -93,7 +93,7 @@ with AudioFile('some-file.wav') as f:
# Read one second of audio at a time, until the file is empty:
while f.tell() < f.frames:
- chunk = f.read(int(f.samplerate))
+ chunk = f.read(f.samplerate)
# Run the audio through our pedalboard:
effected = board(chunk, f.samplerate, reset=False)