# HG changeset patch # User Giulio Moro # Date 1466536030 -3600 # Node ID c932df224fd34af7909e2ef2663c21d62b9d35b5 # Parent 37f10f61433a4c0b80d2600038530c04fa5da976 FIXED the heavy pitchbend range diff -r 37f10f61433a -r c932df224fd3 scripts/hvresources/heavy_render.cpp --- a/scripts/hvresources/heavy_render.cpp Tue Jun 21 20:01:26 2016 +0100 +++ b/scripts/hvresources/heavy_render.cpp Tue Jun 21 20:07:10 2016 +0100 @@ -297,7 +297,7 @@ case kmmPitchBend: { int channel = message.getChannel(); - int value = ((message.getDataByte(1) << 7) | message.getDataByte(0)) - 8192; + int value = ((message.getDataByte(1) << 7) | message.getDataByte(0)); hv_vscheduleMessageForReceiver(gHeavyContext, hvMidiHashes[kmmPitchBend], 0, "ff", (float)channel+1, (float)value); break;