-
bassoctopus
Hi,
This is my first post on this forum. Hello! Apologies if I've missed something obvious here.
I'm trying to send midi data from my android phone accelerometer via PD.
I can get the data to come into PD as -10 to 10 but I want to convert this to midi numbers 0-127 to control an X Y pad.
Can someone help me with this?
Thanks
-
bassoctopus
Thanks. In the end I did the following
Object +10 to bring the range to 0-20 then object to divide the number by 20, then object to multiply by 127.
Works a treat.
Many thanks for your help