diff options
-rw-r--r-- | src/inputprocessor.cc | 2 |
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; |