sc3ctrl/supercollider/SC3Controller.sc

18 lines
350 B
Python
Raw Normal View History

2008-12-21 12:07:45 +00:00
// OSCresponderNode(nil, '/testme', { |...args| args.postln }).add
SC3Controller {
classvar nodes;
*initClass {
nodes = List[];
Platform.case(\osx) {
StartUp.add {
var node;
node = OSCresponderNode(nil, '/sc3ctrl/cmd') { |t, r, msg|
msg[1].asString.interpretPrint
}.add
}
}
}
}