Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control sends ints when floats requested. #41

Open
ovenwerks opened this issue Nov 12, 2017 · 1 comment
Open

Control sends ints when floats requested. #41

ovenwerks opened this issue Nov 12, 2017 · 1 comment

Comments

@ovenwerks
Copy link

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"

@charlieroberts
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants