Triton Rack midi sysex for parameter change:

I am stuck on dealing with negative values when setting params like:

For example, let’s consider Transpose, Tune and Freq. offset here. Korg seems to expect applying two’s complement at 8 bits always, since they equate -12 to F4, -50 to CE and -100 to 9C (offset moves by 0.1hz so there are 100 divisions). If I am able to get two’s complement at 8 bits, then I can apply the value format logic given above, split it into two bytes and send it across.

But, Electra seems to deal with two’s complement only to up to the number of bits needed to represent the negative number. For example, two’s complement of -12 needs 5 digits (at least). And so, E1 seems to convert -12 as just 10100. In this case, Korg actually needs 11110110.

Is there any clever way in which I can manage to derive what Korg wants from what E1 gives? Or does this need an enhancement to E1’s two’s complement logic to also ‘ask’ for a number of bits property?

I am hoping there is a way or else I am probably gonna have to give up on my Korg EXB MOSS for the time being since it deals with ton of modulation properties which all have negative and positive values.

@martin, please let me know if my explanation isn’t clear. Midi implementation document for EXB MOSS is here: http://www.korg-datastorage.jp/Software/MIDIImp/TRITON_RACK.pdf