From b11ed1fabd9c6db06e7aa7d4ad046d934bd113a7 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 22 Jul 2020 16:05:42 +0200 Subject: LV2: Added Aura, Average and AverMatrix plugins. Tried a way to get the units/labels for the AverMatrix controls to better fit. It's not perfect, and I'm not sure if it's possible to make it fit 100% either. I'll have to explore this some more. --- plugins/LV2/src/Aura/Aura.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 plugins/LV2/src/Aura/Aura.cpp (limited to 'plugins/LV2/src/Aura/Aura.cpp') diff --git a/plugins/LV2/src/Aura/Aura.cpp b/plugins/LV2/src/Aura/Aura.cpp new file mode 100644 index 0000000..cb205ce --- /dev/null +++ b/plugins/LV2/src/Aura/Aura.cpp @@ -0,0 +1,25 @@ +#include "Aura.h" +#include +#include + +Aura::Aura(double rate) + : LV2Plugin(rate) +{ +} + +void Aura::run(uint32_t num_samples) +{ + A = *params[0]; + B = *params[1]; + + processReplacing(const_cast(in), out, num_samples); +} + +// +// Include the processing code from the VST version. +// +#include +#include "../../../LinuxVST/src/Aura/AuraProc.cpp" + +// Create the LV2Wrapper and register the plugin +LV2Wrapper plugin; -- cgit v1.2.3