Make gain smoothing slower in examples
This commit is contained in:
parent
1336139a65
commit
f8eb0e4ea6
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue