Mercurial > hg > beaglert
changeset 508:a85851bb2e10 prerelease
Fixed pitchbend range for heavy
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 22 Jun 2016 03:22:36 +0100 |
parents | 1cec96845a23 |
children | 3bb63b848960 |
files | scripts/hvresources/heavy_render.cpp |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/hvresources/heavy_render.cpp Wed Jun 22 01:51:17 2016 +0100 +++ b/scripts/hvresources/heavy_render.cpp Wed Jun 22 03:22:36 2016 +0100 @@ -268,7 +268,6 @@ break; } case kmmProgramChange: { - message.prettyPrint(); int channel = message.getChannel(); int program = message.getDataByte(0); hv_vscheduleMessageForReceiver(gHeavyContext, hvMidiHashes[kmmProgramChange], 0, "ff", @@ -276,8 +275,6 @@ break; } case kmmPolyphonicKeyPressure: { - message.prettyPrint(); - //TODO: untested, I do not have anything with polyTouch... who does, anyhow? int channel = message.getChannel(); int pitch = message.getDataByte(0); @@ -299,7 +296,7 @@ int channel = message.getChannel(); int value = ((message.getDataByte(1) << 7) | message.getDataByte(0)); hv_vscheduleMessageForReceiver(gHeavyContext, hvMidiHashes[kmmPitchBend], 0, "ff", - (float)channel+1, (float)value); + (float)value, (float)channel+1); break; } case kmmNone: