Why does my MIDI encoder jump? Check which way it reads 65
If turning an endless MIDI encoder nudges a knob down instead of up, don't start by adjusting sensitivity. Turn it two slow clicks right, then one left, and log the last data byte of each Control Change message. For relative binary offset, a single-step example is 65, 65, 63 . For seven-bit two’s complement, it's 1, 1, 127 . Both mean +1, +1, −1 to the right decoder. Neither means that to an…
Endless MIDI encoders can sometimes produce unexpected jumps in position. To troubleshoot this issue, start by ensuring the encoder reads correctly in one direction. If the knob moves down instead of up when turned, avoid adjusting sensitivity at first. Instead, turn the encoder in small increments while logging the last data byte of each Control Change message.
For example, using a seven-bit two’s complement system, a sequence of 65, 65, 63 corresponds to +1, +1, −1 when decoded. Another equivalent sequence is 1, 1, 127. Both indicate a rightward movement, but only the absolute mapping interprets them as such. Relative binary offset, on the other hand, treats the same sequence as big negative steps followed by a big positive one, which can feel like a sensitivity problem.
However, reducing sensitivity won't correct the receiver's interpretation of the sign. To diagnose the issue, use a throwaway mapping before modifying any show files. Begin with an empty session and a harmless parameter, then manually adjust it near the middle while watching the raw MIDI CC data. Verify that each set of three messages occurs on the same channel and control change.
If fast movements yield larger values, slow down the clicks before selecting a decoder. Always ensure the receiver's mapping mode matches the controller's documented encoding, as Novation and Ableton document different schemes. Repeat the process from a second starting point to confirm consistency. Remember that in a relative mapping, two right clicks should move upward from both starting points, unless one reaches the top.
Use these sequences as examples, not hardware captures, as some devices may accelerate or use alternative formats. Finally, an endless knob doesn't permit the endpoint to wrap around; if it does, the target value remains fixed.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to