π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Cleanup.
Peter Sobot47defcd0db9d
diff --git a/pedalboard/plugins/MP3Compressor.h b/pedalboard/plugins/MP3Compressor.hindex 777b0c9..82a469c 100644--- a/pedalboard/plugins/MP3Compressor.h+++ b/pedalboard/plugins/MP3Compressor.h@@ -99,7 +99,7 @@ public:bool specChanged = lastSpec.sampleRate != spec.sampleRate ||lastSpec.maximumBlockSize < spec.maximumBlockSize ||lastSpec.numChannels != spec.numChannels;- if (!lame || specChanged) {+ if (!encoder || specChanged) {reset();lame_set_errorf(encoder.getContext(), lame_throw_error_handler);diff --git a/setup.py b/setup.pyindex 06de5b2..92994b2 100644--- a/setup.py+++ b/setup.py@@ -159,11 +159,6 @@ UnixCCompiler.language_map[".mm"] = "objc++"# Add all Pedalboard C++ sources:ALL_SOURCE_PATHS += list(Path("pedalboard").glob("**/*.cpp"))-# Rubber Band pitch shifter/time stretcher---# LAME MP3 encoder:-if platform.system() == "Darwin":MACOS_FRAMEWORKS = ['Accelerate',