From 0b1d9b60db07f4d4d1903419f4da75bcf8643b4c Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 24 Jul 2022 17:07:35 +0200 Subject: [PATCH] Also skew the slope parameter --- plugins/spectral_compressor/src/compressor_bank.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/spectral_compressor/src/compressor_bank.rs b/plugins/spectral_compressor/src/compressor_bank.rs index 97827f05..aadb03a1 100644 --- a/plugins/spectral_compressor/src/compressor_bank.rs +++ b/plugins/spectral_compressor/src/compressor_bank.rs @@ -198,9 +198,11 @@ impl ThresholdParams { curve_slope: FloatParam::new( "Threshold Slope", 0.0, - FloatRange::Linear { + FloatRange::SymmetricalSkewed { min: -36.0, max: 36.0, + factor: FloatRange::skew_factor(-1.0), + center: 0.0, }, ) .with_callback(set_update_both_thresholds.clone())