1
0
Fork 0

Default the rolloff parameters to 0

This commit is contained in:
Robbert van der Helm 2022-07-23 19:23:58 +02:00
parent b3166e3977
commit 92f03e768f

View file

@ -279,7 +279,7 @@ impl CompressorParams {
.with_string_to_value(formatters::s2v_compression_ratio()), .with_string_to_value(formatters::s2v_compression_ratio()),
high_freq_ratio_rolloff: FloatParam::new( high_freq_ratio_rolloff: FloatParam::new(
format!("{name_prefix} Hi-Freq Rolloff"), format!("{name_prefix} Hi-Freq Rolloff"),
0.5, 0.0,
FloatRange::Linear { min: 0.0, max: 1.0 }, FloatRange::Linear { min: 0.0, max: 1.0 },
) )
.with_callback(set_update_ratios) .with_callback(set_update_ratios)