π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Make SoX optional.
Peter Sobot99923e4cac06
diff --git a/test-requirements.txt b/test-requirements.txtindex 15fd968..6d1e425 100644--- a/test-requirements.txt+++ b/test-requirements.txt@@ -13,7 +13,6 @@ click==8.0.4interrogatenumpy-soxgoogle-cloud-storagetqdmpsutildiff --git a/tests/test_benchmark.py b/tests/test_benchmark.pyindex db4629b..1205fb4 100644--- a/tests/test_benchmark.py+++ b/tests/test_benchmark.py@@ -17,10 +17,9 @@import time-import pytestimport numpy as np+import pytest-import soximport pedalboard@@ -44,6 +43,10 @@ class timer(object):@pytest.mark.skipdef test_pysox_performance_difference():+ try:+ import sox+ except ImportError:+ pytest.skip("SoX is not installed")transformer = sox.Transformer()transformer.reverb()