diff options
author | Volker Fischer <corrados@users.noreply.github.com> | 2022-01-17 17:22:09 +0100 |
---|---|---|
committer | Volker Fischer <corrados@users.noreply.github.com> | 2022-01-17 17:22:09 +0100 |
commit | 42c98b390426726b3093ce344ecc11f500b17419 (patch) | |
tree | ead148e9eb90657e1c8a1353d3469ee6c68f62ce | |
parent | f76c527674e5611abe29701fa20dfada72af7bb8 (diff) |
remove unused variable target_min_power_db
-rw-r--r-- | src/inputprocessor.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc index 487d0a2..4b0a1bb 100644 --- a/src/inputprocessor.cc +++ b/src/inputprocessor.cc @@ -295,7 +295,6 @@ bool InputProcessor::processOnset(event_t& event, std::size_t pos, //printf("event_sample.scale: %f, event.velocity: %f, sample->getPower(): %f, instr->getMinPower(): %f, instr->getMaxPower(): %f\n", event_sample.scale, event.velocity, sample->getPower(), instr->getMinPower(), instr->getMaxPower()); auto target_max_power_db = 10 * log10(instr->getMaxPower()); -auto target_min_power_db = 10 * log10(instr->getMinPower()); auto sel_power_db = 10 * log10(sample->getPower()); auto target_dynamic_db = 40.0; // dB |