We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am having troubles receiving messages with the oscP5 library. from the Java example, I got this setup in python
from oscP5 import * from netP5 import * print def setup(): size(400, 400) background(0) port1 = 12000 oscP5 = OscP5(this, port1) loc = NetAddress('127.0.0.1', 12000) def draw():pass def oscEvent(OscMessage): msg = OscMessage print "### received an osc message." print " addrpattern: %s " % msg.addrPattern() print " typetag:%s " % msg.typetag()
While sending messages works fine, for some reason this doesn't. I think there is something wrong with the way I assign the value in the oscEvent function. Any idea? Thanks