MAX receive UDP message
I need to send a UDP message from Python to Max/MSP. When I send a simple message like the number "1", I get the following Max error:
udpreceive: OSC packet size (1) not a multiple of 4 bytes: dropping
How do I need to format my message so udpreceive will understand it?
Well it needs to be a multiple of four bytes. Consider getting an osc lib for python, perhaps?
Instead of udpreceive, you may try Max' standard mxj net.udp.recv, or sadam.udpReceiver from the sadam library
pythonosc is super simple to use. Here's my description of having it talk to max: