Mercurial > hg > beaglert
changeset 498:c932df224fd3 prerelease
FIXED the heavy pitchbend range
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 21 Jun 2016 20:07:10 +0100 |
parents | 37f10f61433a |
children | a15a116f6904 |
files | scripts/hvresources/heavy_render.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;