Hye! I've followed a tutorial on how to send events trough SuperDirt to Hydra, this worked the first time but never since, it says it's listening to the port 3333 for external osc messages but it looks like it doesn't recognize it, or get's my event? Am I missing something?
bd = 0;
msg.setPort(3333)
msg.on('/bd', (args) => {
bd = args[0]%1
console.log(args)
})
osc(10)
.scale(()=>bd*2+1)
.out()
(
//referentie naar IOPAidi adres + poort 3333
n = NetAddr("127.0.0.1",3333);
//callback
~dirt.receiveAction = { |e|
if ( (e.at(\s)==\bd),
{ n.sendMsg("/bd", e.at(\cycle)); }, {} //message noemt /bd
);
};
)