diff options
Diffstat (limited to 'src/inputprocessor.cc')
-rw-r--r-- | src/inputprocessor.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc index fa3498c..30ead8a 100644 --- a/src/inputprocessor.cc +++ b/src/inputprocessor.cc @@ -3,7 +3,7 @@ * inputprocessor.cc * * Sat Apr 23 20:39:30 CEST 2016 - * Copyright 2016 André Nusser + * Copyright 2016 Andr� Nusser * andre.nusser@googlemail.com ****************************************************************************/ @@ -37,7 +37,6 @@ #include "staminafilter.h" #include "velocityfilter.h" #include "positionfilter.h" - #include "cpp11fix.h" class VelocityStorer @@ -254,7 +253,8 @@ bool InputProcessor::processOnset(event_t& event, std::size_t pos, float const power_span = power_max - power_min; float const instrument_level = power_min + event.velocity*power_span; // FIXME: bad variable naming of parameters - const auto sample = instr->sample(instrument_level, event.position, event.offset + pos); + // FIXME: filter for openness? + const auto sample = instr->sample(instrument_level, event.position, event.openness, event.offset + pos); if(sample == nullptr) { |