Add prefix to plain_value() and normalized_value()

To make it clearer that these functions include monophonic modulation.
When creating GUI widgets, you should be using the unmodulated variants.
This commit is contained in:
Robbert van der Helm
2022-11-07 13:03:44 +01:00
parent 3a22b12d8f
commit b2da26ecd7
14 changed files with 66 additions and 50 deletions

View File

@@ -66,11 +66,11 @@ impl<'a, P: Param> ParamSlider<'a, P> {
}
fn plain_value(&self) -> P::Plain {
self.param.plain_value()
self.param.modulated_plain_value()
}
fn normalized_value(&self) -> f32 {
self.param.normalized_value()
self.param.modulated_normalized_value()
}
fn string_value(&self) -> String {