Remove compressor/distortion mix (force 100% wet)

This commit is contained in:
Armin 2026-07-15 23:50:31 +02:00
commit 2a1feaaea9
2 changed files with 6 additions and 7 deletions

View file

@ -10,13 +10,13 @@ public:
}
void setParameters(float thresholdDb, float ratio, float attackMs, float releaseMs,
float makeupDb, float mix) {
float makeupDb) {
threshold = std::pow(10.0f, thresholdDb / 20.0f);
compRatio = ratio;
attackCoeff = std::exp(-1.0f / (attackMs * 0.001f * static_cast<float>(sampleRate)));
releaseCoeff = std::exp(-1.0f / (releaseMs * 0.001f * static_cast<float>(sampleRate)));
makeupGain = std::pow(10.0f, makeupDb / 20.0f);
dryWet = mix;
dryWet = 1.0f;
}
float process(float input) {