diff --git a/src/fx_engine.hpp b/src/fx_engine.hpp index f813c24..424d92b 100644 --- a/src/fx_engine.hpp +++ b/src/fx_engine.hpp @@ -69,12 +69,12 @@ class FxEngine : public FXBase public: typedef typename DataType::T T; - FxEngine(float32_t sampling_rate) : + FxEngine(float32_t sampling_rate, float32_t max_lfo_frequency = 1.0f) : FXBase(sampling_rate) { this->buffer_ = new uint16_t[size]; - this->lfo_[LFO_1] = new LFO(sampling_rate, LFO::Waveform::Sine, 0.0f, 32.0f); - this->lfo_[LFO_2] = new LFO(sampling_rate, LFO::Waveform::Sine, 0.0f, 32.0f); + this->lfo_[LFO_1] = new LFO(sampling_rate, LFO::Waveform::Sine, 0.0f, max_lfo_frequency); + this->lfo_[LFO_2] = new LFO(sampling_rate, LFO::Waveform::Sine, 0.0f, max_lfo_frequency); this->clear(); } diff --git a/src/fx_shimmer_reverb.cpp b/src/fx_shimmer_reverb.cpp index 1eab3f6..bc7989f 100644 --- a/src/fx_shimmer_reverb.cpp +++ b/src/fx_shimmer_reverb.cpp @@ -10,8 +10,8 @@ ShimmerReverb::ShimmerReverb(float32_t sampling_rate) : FXElement(sampling_rate), engine_(sampling_rate) { - this->engine_.setLFOFrequency(LFO_1, 0.5f / sampling_rate); - this->engine_.setLFOFrequency(LFO_2, 0.3f / sampling_rate); + this->engine_.setLFOFrequency(LFO_1, 0.5f); + this->engine_.setLFOFrequency(LFO_2, 0.3f); this->setInputGain(1.0f); this->setLP(0.7f); this->setDiffusion(0.625f); diff --git a/src/performance.ini b/src/performance.ini index 3dc13ed..8e5149e 100644 --- a/src/performance.ini +++ b/src/performance.ini @@ -307,7 +307,7 @@ FXChainPhaserEnable=0 FXChainPhaserWet=50 FXChainPhaserRate=5 FXChainPhaserResonance=45 -FXChainTapeDelayEnable=1 +FXChainTapeDelayEnable=0 FXChainTapeDelayWet=50 FXChainTapeDelayLeftDelayTime=15 FXChainTapeDelayRightDelayTime=22 @@ -315,7 +315,7 @@ FXChainTapeDelayFlutter=0 FXChainTapeDelayFeedback=35 FXChainShimmerReverbEnable=1 FXChainShimmerReverbWet=70 -FXChainShimmerReverbInputGain=45 -FXChainShimmerReverbTime=89 +FXChainShimmerReverbInputGain=55 +FXChainShimmerReverbTime=75 FXChainShimmerReverbDiffusion=75 FXChainShimmerReverbLP=80 diff --git a/src/test/fxrack_test.cpp b/src/test/fxrack_test.cpp index 3c3e8b9..8ce1852 100644 --- a/src/test/fxrack_test.cpp +++ b/src/test/fxrack_test.cpp @@ -190,6 +190,11 @@ int main() rack->getTube()->setOverdrive(1.0f); rack->getChorus()->setEnable(false); + rack->getChorus()->setWetLevel(0.5f); + rack->getChorus()->setRate(0.2f); + rack->getChorus()->setDepth(0.15f); + rack->getChorus()->setFeedback(0.15f); + rack->getPhaser()->setEnable(false); rack->getOrbitone()->setEnable(false);