|
@@ -208,6 +208,12 @@ void DistrhoPlugin3BandSplitter::d_activate() |
|
|
const float sr = (float)d_getSampleRate();
|
|
|
const float sr = (float)d_getSampleRate();
|
|
|
|
|
|
|
|
|
xLP = std::exp(-2.0f * kPI * freqLP / sr);
|
|
|
xLP = std::exp(-2.0f * kPI * freqLP / sr);
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef DISTRHO_OS_WINDOWS
|
|
|
|
|
|
// don't ask me why, but this fixes a crash/exception below on windows...
|
|
|
|
|
|
printf("%f\n", -xLP);
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
a0LP = 1.0f - xLP;
|
|
|
a0LP = 1.0f - xLP;
|
|
|
b1LP = -xLP;
|
|
|
b1LP = -xLP;
|
|
|
|
|
|
|
|
|