Vidvox / oscqueryhtml

MIT License
14 stars 1 forks source link

tuples aren't sending tuples #13

Closed mrRay closed 6 years ago

mrRay commented 6 years ago

sorry, i know you probably couldn't test this until the last half hour or so when i uploaded that new server build- tuples and vecs appear to be sending OSC messages that only contain a single value. you probably already know this!

dustmop commented 6 years ago

Makes sense. Could you post an example here?

mrRay commented 6 years ago

sure- wiggle a UI item in the HTML page for /vecs/first, and this is the message received by the server:

<OSCMessage '/vecs/first', '<OSCVal i 0>'> <OSCMessage '/vecs/first', '<OSCVal i 1>'>

...wiggle the corresponding UI item in the browser, and this is the message it sends:

<OSCMessage '/vecs/first'-'( "<OSCVal i 0>", "<OSCVal i 10>", "<OSCVal i 0>", "<OSCVal i 30>" )'> <OSCMessage '/vecs/first'-'( "<OSCVal i 1>", "<OSCVal i 10>", "<OSCVal i 0>", "<OSCVal i 30>" )'>

...presently, it looks like the OSC messages being sent only include the value being modified, instead of all the values associated with the OSC node's type tag string!

dustmop commented 6 years ago

Fixed by c454477aaa.