danomatika / ofxPd

(maintained) a Pure Data addon for OpenFrameworks using libpd
Other
201 stars 45 forks source link

pitchbend values off #10

Closed danomatika closed 13 years ago

danomatika commented 13 years ago

Sending a pitchbend value of 2000 from ofxPD yields a value of 10192 in PD. The numbers should match.

danomatika commented 13 years ago

This is not a bug. As stated on the libpd wiki, [bendin] returns values from 0 - 16838 while [bendout] accepts values between -8192 - 8192. Libpd itself only works with a rnage of -8192 - 8192, so sending a 2000 from libpd should result in a 8192+2000 = 10192 from [bendin].