Acts as a 14-bit pitch bend filter/processor and xbendin2 serves as a 2-byte pitch bend filter/processor.
The number specifies a MIDI channel on which to recognize pitch bend messages. If there is no argument, xbendin recognizes pitch bend messages on all channels, and the channel number is sent out the extra outlet on the right.
Normally, xbendin sends pitch bend values out the left outlet as 14-bit values. If the object is called xbendin2, however, there will be an additional outlet. The most significant data byte of the message is sent out the leftmost outlet, and the least significant data byte is sent out the second outlet.
Common Box Attributes
The pitch bend value is sent out the left outlet of xbendin as a single 14-bit value. If the object is called xbendin2, there is an additional outlet. The most significant 7 bits are sent out the leftmost outlet, and the least significant (extra precision) 7 bits are sent out the second outlet. If there is no channel number specified as an argument (omni on), xbendin will have an extra outlet on the right, which will output the channel number of the incoming pitch bend message.