π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Re-introduce plugins lost during rebase.
Peter Sobot974fdb9beb16
diff --git a/pedalboard/plugins/Invert.h b/pedalboard/plugins/Invert.hindex f830cae..2965eb5 100644--- a/pedalboard/plugins/Invert.h+++ b/pedalboard/plugins/Invert.h@@ -34,7 +34,7 @@ template <typename SampleType> class Invert : public Plugin {};inline void init_invert(py::module &m) {- py::class_<Invert<float>, Plugin>(+ py::class_<Invert<float>, Plugin, std::shared_ptr<Invert<float>>>(m, "Invert","Flip the polarity of the signal. This effect is not audible on its own.").def(py::init([]() { return std::make_unique<Invert<float>>(); }))diff --git a/pedalboard/plugins/MP3Compressor.h b/pedalboard/plugins/MP3Compressor.hindex 133bb8d..4fc19e4 100644--- a/pedalboard/plugins/MP3Compressor.h+++ b/pedalboard/plugins/MP3Compressor.h@@ -360,7 +360,7 @@ private:};inline void init_mp3_compressor(py::module &m) {- py::class_<MP3Compressor, Plugin>(+ py::class_<MP3Compressor, Plugin, std::shared_ptr<MP3Compressor>>(m, "MP3Compressor","Apply an MP3 compressor to the audio to reduce its quality.").def(py::init([](float vbr_quality) {diff --git a/pedalboard/python_bindings.cpp b/pedalboard/python_bindings.cppindex a14b5d2..691b258 100644--- a/pedalboard/python_bindings.cpp+++ b/pedalboard/python_bindings.cpp@@ -47,6 +47,7 @@ namespace py = pybind11;#include "plugins/Limiter.h"#include "plugins/LowpassFilter.h"#include "plugins/Mix.h"+#include "plugins/MP3Compressor.h"#include "plugins/NoiseGate.h"#include "plugins/Phaser.h"#include "plugins/PitchShift.h"