Browse Source

Opps, fix ladder filter resonance modulation range

dds
PaulStoffregen 3 years ago
parent
commit
514f00a20f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      filter_ladder.cpp

+ 1
- 1
filter_ladder.cpp View File

} }
if (QmodActive) { if (QmodActive) {
float Qmod = blockc->data[i] * (1.0f/32768.0f); float Qmod = blockc->data[i] * (1.0f/32768.0f);
Ktot = K + (MAX_RESONANCE * 1.1f) * Qmod;
Ktot = K + (MAX_RESONANCE * 4.0f) * Qmod;
if (Ktot < 0.0f) Ktot = 0.0f; if (Ktot < 0.0f) Ktot = 0.0f;
} }
float u = input - (z1[3] - 0.5f * input) * Ktot; float u = input - (z1[3] - 0.5f * input) * Ktot;

Loading…
Cancel
Save