1
0
Fork 0

Decrease Soft Vacuum output gain range

-40 dB sounds reasonable. No need to go down all the way to -100.0. The
original version was in the linear domain.
This commit is contained in:
Robbert van der Helm 2023-04-05 18:46:47 +02:00
parent 4b5f52252a
commit 913aa4bef9

View file

@ -121,10 +121,9 @@ impl Default for SoftVacuumParams {
"Output Gain", "Output Gain",
util::db_to_gain(0.0), util::db_to_gain(0.0),
FloatRange::Skewed { FloatRange::Skewed {
// This doesn't go down to 0.0 so we can use logarithmic smoothing min: util::db_to_gain(-40.0),
min: util::MINUS_INFINITY_GAIN,
max: util::db_to_gain(0.0), max: util::db_to_gain(0.0),
factor: FloatRange::gain_skew_factor(util::MINUS_INFINITY_DB, 0.0), factor: FloatRange::gain_skew_factor(-40.0, 0.0),
}, },
) )
.with_unit(" dB") .with_unit(" dB")