mirror of
https://codeberg.org/armin/chromaflock.git
synced 2026-09-01 04:10:47 +02:00
Fix rotary knob fader curve mapping functions, lower highpass frequency
in DSP
This commit is contained in:
parent
0beebaa46d
commit
8c0f55f1e7
4 changed files with 9 additions and 3 deletions
|
|
@ -139,7 +139,7 @@ public:
|
|||
if (lfo2Depth > 0.001f && lfo2Dest == LFODest::FilterCutoff)
|
||||
modCutoff *= std::pow(2.0f, lfo2Out * 4.0f);
|
||||
|
||||
modCutoff = std::clamp(modCutoff, 50.0f, static_cast<float>(getSampleRate() * 0.49));
|
||||
modCutoff = std::clamp(modCutoff, 20.0f, static_cast<float>(getSampleRate() * 0.49));
|
||||
|
||||
filter.setCoefficients(modCutoff, filterResonance, filterType);
|
||||
filterR.setCoefficients(modCutoff, filterResonance, filterType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue