1
0
Fork 0

Allow more granular ratios

This commit is contained in:
Robbert van der Helm 2022-07-22 23:38:51 +02:00
parent 43f86bcc85
commit faec0e35af

View file

@ -271,8 +271,8 @@ impl CompressorBankParams {
}, },
) )
.with_callback(set_update_downwards_ratios) .with_callback(set_update_downwards_ratios)
.with_step_size(0.1) .with_step_size(0.01)
.with_value_to_string(formatters::v2s_compression_ratio(1)) .with_value_to_string(formatters::v2s_compression_ratio(2))
.with_string_to_value(formatters::s2v_compression_ratio()), .with_string_to_value(formatters::s2v_compression_ratio()),
upwards_ratio: FloatParam::new( upwards_ratio: FloatParam::new(
"Upwards Ratio", "Upwards Ratio",
@ -284,8 +284,8 @@ impl CompressorBankParams {
}, },
) )
.with_callback(set_update_upwards_ratios) .with_callback(set_update_upwards_ratios)
.with_step_size(0.1) .with_step_size(0.01)
.with_value_to_string(formatters::v2s_compression_ratio(1)) .with_value_to_string(formatters::v2s_compression_ratio(2))
.with_string_to_value(formatters::s2v_compression_ratio()), .with_string_to_value(formatters::s2v_compression_ratio()),
downwards_knee_width_db: FloatParam::new( downwards_knee_width_db: FloatParam::new(