Forums > MaxMSP

another xbendout2 noob

Jul 10 2012 | 2:10 pm


I’m currently working on a patch which is supposed to transform Cents into pitchbend wheel values and send them to Ableton Live. I’m aware that this is done with xbendout and xbendout2, but I’m not sure I’m getting it right.
I currently have values like (+)28.27 or -29.22 cents, which I could scale to the 0-127 that xbendout recieves, but this is not enough, as to be extremely precise I need better than those 0-127 integer values. Digging into it I found xbendout2 can help me with this, from what I understand MSB is somewhat of a coarse tuning and LSB would be fine tuning, but I really don’t know how to match this with my cent values and much less how to connect them to a Live synth in order to have them work properly. Please help!

Thanks in advance

Jul 11 2012 | 12:09 pm

The documentation of xbendout/xbendout2 is somewhat confusing and partly wrong.
Actually xbendout receives 14-bit values, ie. values in the range 0-16383.

Here is a patch that transforms Cents (as float) into pitchbend values.
Note that ‘Range’ must be set depending on the synth. Default is +/- 2 semitones.

-- Pasted Max Patch, click to expand. --

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > MaxMSP