Le 2011-10-03 à 19:29:00, Nicola Pandini a écrit :

Hi, I'm trying to build a patch that routes notes, CCs and pitch bend from a keyboard to different synths.
Everything is ok for notes and CCs, but I have a problem with the pitch bend.
It seems that [bendout] can outputs only a range between 0 and 16384, while the correct range should be -8192 +8192.
I tried to force negative values but it seems that bendout can't go below 0.

use [- 8192]

because 0-8192 = -8192
and because 16383-8192 = 8191

that is, in unsigned values, 8192 is the middle of the range.

 ______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to