Closed jonasbarsten closed 6 years ago
Ah, figured it out.
For further reference:
In my case:
var udpPort = new osc.UDPPort({
localAddress: "0.0.0.0",
localPort: 57121,
metadata: true,
broadcast: true
});
udpPort.open();
udpPort.on("ready", function () {
udpPort.send({
address: "/s_new",
args: [
{
type: "s",
value: "default"
},
{
type: "i",
value: 100
}
]
}, "192.168.255.255", 8050);
});
Hi.
Do you have an example on how to broadcast with osc.UDPPort?
I tried to substitute the address with the network mask (255.255.0.0) and I tried to remove the address alltogheter with no luck.