1
0
Fork 0

Skew slope and curve more towards 0

Especially positive curve values can get out of hand quick
This commit is contained in:
Robbert van der Helm 2022-07-24 17:48:02 +02:00
parent d53d03c5cf
commit dffc169c99

View file

@ -205,26 +205,26 @@ impl ThresholdParams {
FloatRange::SymmetricalSkewed { FloatRange::SymmetricalSkewed {
min: -36.0, min: -36.0,
max: 36.0, max: 36.0,
factor: FloatRange::skew_factor(-1.0), factor: FloatRange::skew_factor(-2.0),
center: 0.0, center: 0.0,
}, },
) )
.with_callback(set_update_both_thresholds.clone()) .with_callback(set_update_both_thresholds.clone())
.with_unit(" dB/oct") .with_unit(" dB/oct")
.with_step_size(0.1), .with_step_size(0.01),
curve_curve: FloatParam::new( curve_curve: FloatParam::new(
"Threshold Curve", "Threshold Curve",
0.0, 0.0,
FloatRange::SymmetricalSkewed { FloatRange::SymmetricalSkewed {
min: -24.0, min: -24.0,
max: 24.0, max: 24.0,
factor: FloatRange::skew_factor(-1.0), factor: FloatRange::skew_factor(-2.0),
center: 0.0, center: 0.0,
}, },
) )
.with_callback(set_update_both_thresholds) .with_callback(set_update_both_thresholds)
.with_unit(" dB/oct²") .with_unit(" dB/oct²")
.with_step_size(0.1), .with_step_size(0.01),
} }
} }
} }