Control icon indicating copy to clipboard operation
Control copied to clipboard

Control sends ints when floats requested.

Open ovenwerks opened this issue 7 years ago • 1 comments

It seems whenever a float number is equivalent to an int (0.0, 1.0, 2.0) it is sent as an int. So a slider with a range of 0.0 to 1.0 will send floats for all values except 0.0 and 1.0. Using oscManager.sendOSC to explicitly send floats will still send ints as well. Some applications are picky about what is sent. Control doesn't seem to care what comes back though.

PS I would love to see this updated even if I had to "sideload"

ovenwerks avatar Nov 12 '17 19:11 ovenwerks

Hello,

Unfortunately I won't be updating Control unless I find the time to do a complete rewrite (I have thought about this!). If you're on Android and interested in troubleshooting it looks like the problem is possibly on line 103 of this file:

https://github.com/charlieroberts/Control/blob/master/Android/Control/src/com/charlieroberts/Control/OSCManager.java

I don't even have an Android device to test this on anymore... - Charlie

charlieroberts avatar Nov 12 '17 20:11 charlieroberts