From ac67b645028396a69fc3abf999037dd0f7b800bd Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 9 Jun 2018 00:44:39 +0200 Subject: Make humanizer knobs more responsive. --- plugingui/humanizerframecontent.cc | 4 ++-- src/latencyfilter.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugingui/humanizerframecontent.cc b/plugingui/humanizerframecontent.cc index b074746..14c6929 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) / 3.0f; + return (value - 0.5f) / 8.0f; } float HumanizerframeContent::stddevKnobToSettings(float value) const { - return value * 3.0f + 0.5f; + return value * 8.0f + 0.5f; } void HumanizerframeContent::attackValueChanged(float value) diff --git a/src/latencyfilter.cc b/src/latencyfilter.cc index e1e9776..e2a4965 100644 --- a/src/latencyfilter.cc +++ b/src/latencyfilter.cc @@ -68,7 +68,7 @@ bool LatencyFilter::filter(event_t& event, std::size_t pos) float offset_max = latency * 1.0f; float mean = 0.0f;//latency_laid_back; - float stddev = latency_stddev / 2.0f; + float stddev = latency_stddev; float offset = random.normalDistribution(mean, stddev); -- cgit v1.2.3