Change the scaling on Safety Limiter's threshold
With the addition of negative values the linear scale doesn't work anymore.
This commit is contained in:
parent
f5459e95a5
commit
6e89d3737b
|
@ -107,9 +107,10 @@ impl Default for SafetyLimiterParams {
|
|||
threshold_gain: FloatParam::new(
|
||||
"Threshold",
|
||||
util::db_to_gain(0.00),
|
||||
FloatRange::Linear {
|
||||
FloatRange::Skewed {
|
||||
min: util::db_to_gain(-24.0),
|
||||
max: util::db_to_gain(12.0),
|
||||
factor: FloatRange::skew_factor(-1.0),
|
||||
},
|
||||
)
|
||||
.with_unit(" dB")
|
||||
|
|
Loading…
Reference in a new issue