1
0
Fork 0

Change the global threshold range

This should go lower and it doesn't need to exceed much past 0
dBFS (since full 0 dBFS in the frequency domain will peak pretty hard in
the time domain).
This commit is contained in:
Robbert van der Helm 2022-07-24 17:06:20 +02:00
parent 4a2373b664
commit 3fe1769a43

View file

@ -171,10 +171,10 @@ impl ThresholdParams {
ThresholdParams { ThresholdParams {
threshold_db: FloatParam::new( threshold_db: FloatParam::new(
"Global Threshold", "Global Threshold",
0.0, -20.0,
FloatRange::Linear { FloatRange::Linear {
min: -50.0, min: -100.0,
max: 50.0, max: 20.0,
}, },
) )
.with_callback(set_update_both_thresholds.clone()) .with_callback(set_update_both_thresholds.clone())