Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 008b11c commit c17e28cCopy full SHA for c17e28c
include/umpToMIDI2Protocol.h
@@ -269,7 +269,7 @@ class umpToMIDI2Protocol
269
case 0xE0: //Pitch bend
270
out1 = ((0x04 << 4) + group) << 24;
271
out1 += (status + channel) << 16;
272
- uint8_t pb = (val2 << 7) + val1;
+ uint32_t pb = (val2 << 7) + val1;
273
out2 += M2Utils::scaleUp(pb, 14, 32);
274
umpMess[writeIndex] = out1;
275
increaseWrite();
0 commit comments