another xbendout2 noob
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
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.
----------begin_max5_patcher---------- 800.3ocuW1rbaBCDG+L9ofgImZccQBvf6s19FzqYxjQFDIpEjX.YWmlIu6UR 7gEwHC10kKfYWok+6OsZQ90EVNaYGvUN1ew9daKqWWXYoLIMX07rkSN5PbFp RMLGJ92rs+zYYsKN9.WYNNiTX6ZCV6E405jtKmPyvb0D8ZLlxn7JxevRa.2U tGGKaGucvfFqEHd7yD5SOVhi40pD3AESxFF.j2VGJuBhV4Z+PybpCC+kBb8D bb5bQRTZUn+OABbzDDEkqFsyWKInL6uwxRbjdeawB4kk+argP4ChD3MFIRLr zV7PvXHQpngnR3+AnDyxywGIPGU9tvX0fboKUKwUhAg3DFUKcg9xzzuNYWex 5+jno6nzD.Uu.e3Iu.cYoKWMNFYliWCBSyXB42Fy8nxtP12yEQQW09mZV5ec TDNNEC7j2BbGeapHUPhpDamsH5SNWBs2LiUs+PHN70W0VWSAt4Esv9EsgWSQ Kv81V0lQ1iWIx.4nFnzUy88fGNKRk5IEEi6Agyg45qMMGBzvvjqegsS1yPjN 8yLKaqguHnCb5DQo.Mbb4iXJZaFVeBUn83jGQbdIY6NN93upZ3eyBfjvY6vr zVys10Cetfvpf2Vl0yKgR3xE7ZJzlJ8FRaRCLO8Sygdip5YVI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