well for me a 14-bit number with a range of 16383 is zero based, otherwise I would need an additional bit for the sign.also nobend=2000H indicates a value from 0 to 16383...
Am Sonntag, 4. September 2016 schrieb Giulio Moro via Pd-list :______________________________The specs don't say much about how to interpret the value actually
https://www.midi.org/specifications/item/table-1-summary-of- midi-message
"Pitch Bend Change.
status: 1110nnnn
data: 0lllllll 0mmmmmmm
This message is sent to indicate a change in the pitch bender (wheel or lever, typically). The pitch bender is measured by a fourteen bit value. Center (no pitch change) is 2000H. Sensitivity is a function of the transmitter. (llllll) are the least significant 7 bits. (mmmmmm) are the most significant 7 bits."
>________________________________
> From: Alexandre Torres Porres <porres@gmail.com>
>To: Giulio Moro <giuliomoro@yahoo.it>
>Cc: "pd-list@lists.iem.at" <pd-list@lists.iem.at>
>Sent: Sunday, 4 September 2016, 19:33
>Subject: Re: [PD] bendin bug (?)
>
>
>
>
>
>
>
>2016-09-04 13:35 GMT-03:00 Giulio Moro <giuliomoro@yahoo.it>:
>
>Is this a [bendin] or a [bendout] bug?
>>
>>
>>[bendin]'s current implementation is closer to the actual MIDI messages being transmitted.
>
>
>but in actuality, the not raw standard is from -8192 to 8191 right?
>
>
>I just care they both are the same, but it seems to me that -8192 to 8191 is the sensible choice
>
>
>cheers
>
>
_________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list