[NEED HELP] - Problems With Opensoundcontrol Communication In Between Processing And Max In Windows

tiago morais morgado's icon

bearing in mind this simple code in processing:
https://bpa.st/4FEA?fbclid=IwAR0FZp07o2Q-ltwPaW1sN0DIbv0uia6Z7cqbnzRpolow9qpLWCxP4nzWuFI

as well as this code in maxmsp:

Max Patch
Copy patch and select New From Clipboard in Max.

and this simple code in maxmsp
why am i not being able to receive osc messages in maxmsp?

vielen danke
kind regards
T.

Source Audio's icon

udpreceive gets out of function if you enter ip address.
it takes it as if it were port number, but all is wrong ...

tiago morais morgado's icon

i tried both ways, actually, and it still doesn't work

so, like this

Max Patch
Copy patch and select New From Clipboard in Max.

Source Audio's icon

use simple udpreceive with correct port set, and add print object or a message to it.


why do you need CNMAT attribute set ?
do you know if whatever lib you use from processing sends fullpacket messages ?
Did you set correct ports in processing ?

tiago morais morgado's icon

I already figured out the solution to the problem. what was wrong was the port in max. rather then receiving on port 12000 i should be receiving on port 57120
cheers