aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--pianoteq_utils_demo_unmute.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 352e98e..c892edd 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.49
+0.1.51
diff --git a/pianoteq_utils_demo_unmute.c b/pianoteq_utils_demo_unmute.c
index 3ffe58d..b10f56d 100644
--- a/pianoteq_utils_demo_unmute.c
+++ b/pianoteq_utils_demo_unmute.c
@@ -360,7 +360,7 @@ _handle_midi(plughandle_t *handle, int64_t frames, const uint8_t *msg)
handle->data &= ~0x3f80;
handle->data |= val << 7;
- if(handle->rpn == 0x1) // set bend range
+ if(handle->rpn == 0x0) // set bend range
{
const uint32_t semi = handle->data >> 7;
const uint32_t cent = handle->data & 0x7f;