π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Assert samplerate.
Peter Sobotfad6b9e2cf20
diff --git a/tests/test_io.py b/tests/test_io.pyindex b82f70e..741ee48 100644--- a/tests/test_io.py+++ b/tests/test_io.py@@ -1083,6 +1083,7 @@ def test_22050Hz_mono_mp3(audio_filename: str, samplerate: float):"""af = pedalboard.io.ReadableAudioFile(audio_filename, cross_platform_formats_only=True)assert af.duration < 30.5+ assert af.samplerate == sampleratedata_read_all_at_once = af.read(af.frames)chunk_size = MP3_FRAME_LENGTH_SAMPLES