summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inputprocessor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc
index 19e76a5..81e64cb 100644
--- a/src/inputprocessor.cc
+++ b/src/inputprocessor.cc
@@ -209,6 +209,8 @@ bool InputProcessor::processOnset(event_t& event, std::size_t pos,
return false;
}
+ event.velocity = std::pow(event.velocity, 3);
+
std::size_t instrument_id = event.instrument;
Instrument* instr = nullptr;