From 0514d2de963ebdf470b60d9a51fede9bef7d339f Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 6 Feb 2022 02:36:31 +0100 Subject: [PATCH] Increase the gain smoothing time --- plugins/examples/gain/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/examples/gain/src/lib.rs b/plugins/examples/gain/src/lib.rs index 709f98a6..fdb65d65 100644 --- a/plugins/examples/gain/src/lib.rs +++ b/plugins/examples/gain/src/lib.rs @@ -57,7 +57,7 @@ impl Default for GainParams { Self { gain: FloatParam { value: 0.0, - smoothed: Smoother::new(SmoothingStyle::Linear(3.0)), + smoothed: Smoother::new(SmoothingStyle::Linear(50.0)), value_changed: None, // If, for instance, updating this parameter would require other parts of the // plugin's internal state to be updated other values to also be updated, then you