diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-09 00:44:39 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-09 00:56:38 +0200 |
commit | ac67b645028396a69fc3abf999037dd0f7b800bd (patch) | |
tree | 9d6c2f99c766622a000d7e5490d070328901d23e | |
parent | f9d57f2e181a4764ea43f81731c099e81570cec8 (diff) |
Make humanizer knobs more responsive.
-rw-r--r-- | plugingui/humanizerframecontent.cc | 4 | ||||
-rw-r--r-- | 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); |