Pitchbend map

I am trying to apply a map for pitchbend to change its response curve. I am receiving the cc from kb board via midi and forwarding to midi device. Normally it sends values in range - 8192:8191 but it is limited to - 5260:5300 due to lower pot range. I would like to extend this smaller range to the -8292:8191 as it should be and make it less responsive in the mid rage BTW - 150 and 150. At the receiver I am setting the range to - 16384:16383. I am trying to apply a map for sender but no idea. If I am making a map 0:0 16191:16191 it is forwarding the reserved values however do not know how to convert the signed to unsigned. I need the following curve:

-5260:-8192 - 150:0 150;0 5300:8191

(it has to be converted). 

Any idea? 

first, -150 to 150 is not a regular range, better to use 2n value and use bit shifting to divide or multiply by 2
E.g: 16383 >> 7 = 127
signed <> unsigned conversion depends on what you want exactly, and I don’t understand exactly what you want to do

Just now, macsaif said:

-5260:-8192 - 150:0 150;0 5300:8191

???
 

 

You can maybe find here some idea to get a non-linear response and signed/unsigned conversion.

http://discourse.midibox.org/t/topic/20294

 

I have figured out the following map and it works:

MAP10/HWORDI 0:0 3000:0 7950:8191 8192:8192 8400:8192 13500:16383

the 8192 value means the centerpoint than there is a dead zone around center (values 7950 and 8400) than the values 3000 and 13500 are doing the scaling to full range.

The task is solved!

Frank