1
0
Fork 0

Fix CLAP modulation

This was a regression introduced in
c566888fa3.
This commit is contained in:
Robbert van der Helm 2022-10-24 23:56:49 +02:00
parent 6c2bb154c9
commit 435fcd8106
3 changed files with 3 additions and 3 deletions

View file

@ -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) {

View file

@ -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) {

View file

@ -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) {