Make mix more even

This commit is contained in:
Aleks Rutins 2023-04-16 07:58:22 -04:00
parent 7ffedd4af3
commit cb7a925211

View file

@ -34,7 +34,7 @@ namespace Dynamite {
if(abs(input[pos]) < transmogrifyThreshold) transmogrified = 0;
output[pos] = (mix * ((algoMix * transmogrified) + ((1.0 - algoMix) * dist))) + ((1.0 - mix) * input[pos] * gainCoeff);
output[pos] = (mix * ((algoMix * transmogrified) + ((1.0 - algoMix) * dist))) + ((1.0 - mix) * input[pos] * coeff * threshCoeff * gainCoeff);
}
}
}