diff --git a/src/params/boolean.rs b/src/params/boolean.rs index 3ab25145..91965bec 100644 --- a/src/params/boolean.rs +++ b/src/params/boolean.rs @@ -194,7 +194,7 @@ impl ParamMut for BoolParam { .store(modulation_offset, Ordering::Relaxed); // TODO: This renormalizes this value, which is not necessary - self.set_plain_value(self.plain_value()); + self.set_plain_value(self.unmodulated_plain_value()); } fn update_smoother(&self, _sample_rate: f32, _init: bool) { diff --git a/src/params/float.rs b/src/params/float.rs index 0e75671c..48756f55 100644 --- a/src/params/float.rs +++ b/src/params/float.rs @@ -228,7 +228,7 @@ impl ParamMut for FloatParam { .store(modulation_offset, Ordering::Relaxed); // TODO: This renormalizes this value, which is not necessary - self.set_plain_value(self.plain_value()); + self.set_plain_value(self.unmodulated_plain_value()); } fn update_smoother(&self, sample_rate: f32, reset: bool) { diff --git a/src/params/integer.rs b/src/params/integer.rs index 0062c0bf..475dd123 100644 --- a/src/params/integer.rs +++ b/src/params/integer.rs @@ -208,7 +208,7 @@ impl ParamMut for IntParam { .store(modulation_offset, Ordering::Relaxed); // TODO: This renormalizes this value, which is not necessary - self.set_plain_value(self.plain_value()); + self.set_plain_value(self.unmodulated_plain_value()); } fn update_smoother(&self, sample_rate: f32, reset: bool) {