summaryrefslogtreecommitdiff
path: root/plugingui/humanizerframecontent.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-07-10 20:46:44 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-07-15 18:56:01 +0200
commit34578fdef6a9f77aa285501130be55fcd560c03d (patch)
treedf7336fb49652c4e34297d6a53a7cc239e0ddd99 /plugingui/humanizerframecontent.cc
parentbe9fe821ff1689ece9ee6433fcf42ec316e0aaad (diff)
Use more sane range for stddev knob in UI.
Diffstat (limited to 'plugingui/humanizerframecontent.cc')
-rw-r--r--plugingui/humanizerframecontent.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/humanizerframecontent.cc b/plugingui/humanizerframecontent.cc
index 14c6929..5f84249 100644
--- a/plugingui/humanizerframecontent.cc
+++ b/plugingui/humanizerframecontent.cc
@@ -84,12 +84,12 @@ HumanizerframeContent::HumanizerframeContent(Widget* parent,
float HumanizerframeContent::stddevSettingsToKnob(float value) const
{
- return (value - 0.5f) / 8.0f;
+ return (value - 0.5f) / 4.0f;
}
float HumanizerframeContent::stddevKnobToSettings(float value) const
{
- return value * 8.0f + 0.5f;
+ return value * 4.0f + 0.5f;
}
void HumanizerframeContent::attackValueChanged(float value)