π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Switch from AIFF to AIFC test fixtures.
Peter Sobot9404337b265a
diff --git a/tests/audio/correct/mono_sine_at_44100Hz.aifc b/tests/audio/correct/mono_sine_at_44100Hz.aifcindex f627182..a5e9b7e 100644Binary files a/tests/audio/correct/mono_sine_at_44100Hz.aifc and b/tests/audio/correct/mono_sine_at_44100Hz.aifc differdiff --git a/tests/audio/correct/mono_sine_at_48000Hz.aifc b/tests/audio/correct/mono_sine_at_48000Hz.aifcindex 7dd0122..a8f9630 100644Binary files a/tests/audio/correct/mono_sine_at_48000Hz.aifc and b/tests/audio/correct/mono_sine_at_48000Hz.aifc differdiff --git a/tests/test_io.py b/tests/test_io.pyindex 766351d..6d2160c 100644--- a/tests/test_io.py+++ b/tests/test_io.py@@ -239,6 +239,11 @@ def test_context_manager_allows_exceptions():def test_read_okay_without_extension(tmp_path: pathlib.Path, audio_filename: str, samplerate: float):+ if '.mp3' in audio_filename:+ # Skip this test - due to a bug in LAME's MP3 reader, we require+ # any MP3 files to be identified as such.+ return+dest_path = str(tmp_path / "no_extension")shutil.copyfile(audio_filename, dest_path)with pedalboard.io.AudioFile(dest_path) as af: