From c69ebdce624393d4ff23fdbce6856065eff9f6a8 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Tue, 10 Jan 2023 19:17:26 +0100 Subject: fix hi-hat choke: larger minimum value is needed --- src/inputprocessor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc index 4b0a1bb..a15c9c1 100644 --- a/src/inputprocessor.cc +++ b/src/inputprocessor.cc @@ -358,7 +358,7 @@ bool InputProcessor::processChoke(event_t& event, if(event.offset >= 1000000) // quick hack: added 1000000 to offset to transport hi-hat controller value { int hihat_controller = event.offset - 1000000; - int rampdown_time = static_cast(std::max(100.0, pow(10.0, (127.0 - hihat_controller) / 38.0))); // TODO optimize + int rampdown_time = static_cast(std::max(180.0, pow(10.0, (127.0 - hihat_controller) / 38.0))); // TODO optimize applyChoke(settings, event_sample, rampdown_time, 0); } else -- cgit v1.2.3