Hi all,
I'm trying to send a series of integers (in this case X and Y coordinates) via UDP from Max/MSP on one computer (2.0.0.2) to PB Widget Designer Pro (2.0.0.1).
I've tried many, many configurations, and I have been able to do it, but in a manner that seems extremely inefficient... so I'm seeking all of your guidance.
In Max/MSP, I'm converting the integer to a symbol, using "tosymbol" then sending it out with "udpsend 2.0.0.1 5309"
Then, in Widget Designer, I want to take the value and assign it to a fader (so I can see whats happening), and then to a layer's X Position. Here's where it gets iffy:
Widget Designer only seems to see the values coming in if ASCII mode is selected, and I can only get one value in a time (I haven't been able to send packed values in a list from Max/MSP). The ASCII thing really messes things up, because a fader won't let me assign an ASCII value to it... SO, I'm assigning it to a Textbox, then assigning the Textbox to the fader. Then the Fader to a Range node and then to the Layer Control. Seems like there's probably a better way.
Also, I'm using one Range node to scale from MaxMSP's values of (0-255) to what works in my screen config (-800-800). But, for some reason, sending the -800 to 800 values to PB Manager results in values skewed very low. The only way I've been able to fix it has been by using another Range node to go from (-800 to 800) to (0 to 65335)... and THEN for some reason the Device Controls in PB Manager actually see values between -800 and 800. Any thoughts there?
Fore more info, see the attached PDF with details of EVERYTHING.
Thanks for your help!