[pksampler-devel] receiving osc from scsynth
Status: Beta
Brought to you by:
patrickkidd
From: altern <al...@gm...> - 2007-02-18 11:55:13
|
hi i am trying to execute some code when some osc mesages come from the scsynth. They are produced by a SendTrig so they have /tr address. At the moment i get the osc printed on the console, but i cannot find the way to bind them to a callback. I tried few things like def test(*args) : print 'gotit', args import scosc.controller controller = scosc.controller.Controller( ('127.1.1.1', 57110) ) controller.receive('/tr') but it doesnt seem to get anything. i get this error line 99, in receive raise IOError('timeout waiting for reply') any tips? thanks enrike |