Hi there i’ve made a very small patch in MAX using the udpreceive option. With this I receive one value from eyesweb via OSC. When I want to connect the outcome of the udpreceive field to a number field it says "Dont understand """ in the Max window? What is the problem. I think the number is not seen as a number but as a string but how can I convert this????
Thanks in Advance
It looks like the "" is an empty string rather than a number, which is a bit odd. Hook in a [print] to see the exact message you are getting. Two useful objects you might also want to look at are [fromsymbol] and [tosymbol].
Consider that, if udpreceive is sending out an empty string as part the UDP package, you’re not going to see it in the Max window, are you? Even single blank characters are easy to overlook (particularly in your screen shot).
I’d suggest inserting a [route i] object between udpreceive and your numbox.
For better analysis of what’s going on, you might want to pass udprecieve’s output through spell or atoi. The fromsymbol suggestion may also be helpful.