From 6801e49fcabe2cd6925be2e0045ad5e83320548b Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Fri, 2 Mar 2018 12:04:52 +0000 Subject: [PATCH] Small fix for transpose. --- src/dexed.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dexed.cpp b/src/dexed.cpp index ae0f1a8..7cb4c6d 100644 --- a/src/dexed.cpp +++ b/src/dexed.cpp @@ -658,7 +658,7 @@ TRACE("pitch=%d, velo=%d\n",pitch,velo); return; } - pitch += data[144] - 12; + pitch += data[144] - 24; uint8_t note = currentNote; uint8_t keydown_counter=0; @@ -710,7 +710,7 @@ void Dexed::keyup(uint8_t pitch) { TRACE("Hi"); TRACE("pitch=%d\n",pitch); - pitch += data[144] - 12; + pitch += data[144] - 24; uint8_t note; for (note=0; note