mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Make gain smoothing slower in examples
This commit is contained in:
@@ -57,7 +57,7 @@ impl Default for GainParams {
|
||||
Self {
|
||||
gain: FloatParam {
|
||||
value: 0.0,
|
||||
smoothed: Smoother::new(SmoothingStyle::SmoothLinear(2.0)),
|
||||
smoothed: Smoother::new(SmoothingStyle::SmoothLinear(3.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
|
||||
|
||||
@@ -60,7 +60,7 @@ impl Default for SineParams {
|
||||
Self {
|
||||
gain: FloatParam {
|
||||
value: -10.0,
|
||||
smoothed: Smoother::new(SmoothingStyle::SmoothLinear(2.0)),
|
||||
smoothed: Smoother::new(SmoothingStyle::SmoothLinear(3.0)),
|
||||
range: Range::Linear {
|
||||
min: -30.0,
|
||||
max: 0.0,
|
||||
|
||||
Reference in New Issue
Block a user