diff --git a/plugin/chorus.cpp b/plugin/chorus.cpp index d6a8431..1a16739 100644 --- a/plugin/chorus.cpp +++ b/plugin/chorus.cpp @@ -21,6 +21,7 @@ #include #include +#include Chorus::Chorus() { lpfOut1 = new float[bufferSize]; lpfOut2 = new float[bufferSize]; @@ -102,6 +103,7 @@ void Chorus::run(float* input, float** outputs, uint32_t frames) { delayptr++; delayptr &= 0x3ff; } + //printf("dly1 = %f\n", dly1); postFilter1l->runSVF(lpfOut1, lpfOut1, frames); postFilter2l->runSVF(lpfOut1, lpfOut1, frames); @@ -152,11 +154,11 @@ void Chorus::setChorus(uint8_t mode) { break; case 0x40: gain = 1.2; - lfoSpeed = 6.283 * 0.5 / sampleRate; + lfoSpeed = 6.283 * 0.3 / sampleRate; break; case 0x00: gain = 1.2; - lfoSpeed = 6.283 * 0.9 / sampleRate; + lfoSpeed = 6.283 * 0.5 / sampleRate; break; } }