Jump to content

Pitchbend map


macsaif
 Share

Recommended Posts

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? 

Link to comment
Share on other sites

first, -150 to 150 is not a regular range, better to use 2value 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

???
 

 

Link to comment
Share on other sites

  • 2 weeks later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...