This seems to do it for me. I got confused about all this
collective in stuff. But your code does the trick – thanks for the
inspiration! On 14/12/2018 11.36,
alberto.decampo@xxxxxxxxx wrote:
m.elAt(\sl); m.trace; m.gui; n = NetAddr.localAddr; // tell m to listen to local osc from SC itself: ( I dont have the app) m.device.updateSrcAddr(n.hostname, n.port); // simulate what the app sends from a button // this changes button values n.sendMsg('/xy/rec', 1); n.sendMsg('/xy/rec', 0); // simulate what the app sends from the xy slider // this changes both values in sl1, sl2 from n.sendMsg('/xy/xy1', 0.5, 0.5); n.sendMsg('/xy/xy1', 0.2, 0.8); ////// is this what your question was? ///////// // give slider x and y separate actions: m.elAt(\sl, \x).action = { --
Best Regards, |