#include "IronOxideClassic.h" #include #include IronOxideClassic::IronOxideClassic(double rate) : LV2Plugin(rate) { } void IronOxideClassic::activate() { A = 0.5; B = 0.562341325190349; C = 0.5; for (int temp = 0; temp < 263; temp++) {dL[temp] = 0.0;dR[temp] = 0.0;} gcount = 0; fastIIRAL = fastIIRBL = slowIIRAL = slowIIRBL = 0.0; iirSampleAL = iirSampleBL = 0.0; fastIIRAR = fastIIRBR = slowIIRAR = slowIIRBR = 0.0; iirSampleAR = iirSampleBR = 0.0; fpFlip = true; fpNShapeL = 0.0; fpNShapeR = 0.0; //this is reset: values being initialized only once. Startup values, whatever they are. } void IronOxideClassic::run(uint32_t num_samples) { A = *params[0]; B = *params[1]; C = *params[2]; processReplacing(const_cast(in), out, num_samples); } // // Include the processing code from the VST version. // #include #include "../../../LinuxVST/src/IronOxideClassic/IronOxideClassicProc.cpp" // Create the LV2Wrapper and register the plugin LV2Wrapper plugin;