From faec0e35af2d60c4520c5b41a14df98ae89ac994 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 22 Jul 2022 23:38:51 +0200 Subject: [PATCH] Allow more granular ratios --- plugins/spectral_compressor/src/compressor_bank.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/spectral_compressor/src/compressor_bank.rs b/plugins/spectral_compressor/src/compressor_bank.rs index 582c502c..cf2d68bf 100644 --- a/plugins/spectral_compressor/src/compressor_bank.rs +++ b/plugins/spectral_compressor/src/compressor_bank.rs @@ -271,8 +271,8 @@ impl CompressorBankParams { }, ) .with_callback(set_update_downwards_ratios) - .with_step_size(0.1) - .with_value_to_string(formatters::v2s_compression_ratio(1)) + .with_step_size(0.01) + .with_value_to_string(formatters::v2s_compression_ratio(2)) .with_string_to_value(formatters::s2v_compression_ratio()), upwards_ratio: FloatParam::new( "Upwards Ratio", @@ -284,8 +284,8 @@ impl CompressorBankParams { }, ) .with_callback(set_update_upwards_ratios) - .with_step_size(0.1) - .with_value_to_string(formatters::v2s_compression_ratio(1)) + .with_step_size(0.01) + .with_value_to_string(formatters::v2s_compression_ratio(2)) .with_string_to_value(formatters::s2v_compression_ratio()), downwards_knee_width_db: FloatParam::new(