How to Map midi

Alternatively, you can use the BINARY_OFFSET mode of the MIDI Controller library:

It always adds 64 to the value, which might be easier to deal with in Max Msp:
0 → -64
1→ -63
...
63 → -1
64 → 0
65 → +1
...
126 → +62
127 → +63