Status
Clients0
UDP targets0
Messages0
Uptime—
Connected clients
No clients
Live OSC Monitor
Inactive
Click Start to see messages...
Send OSC
Separate multiple arguments with a comma — numbers are auto-detected.
Presets
UDP Targets
Forward messages as UDP — useful for MaxMSP on a fixed IP.
No targets
Connect
Hydra
MaxMSP
JavaScript
// Paste this in the Hydra editor window var ws = new WebSocket('wss://osc.dinggoo.nl') ws.onopen = () => ws.send(JSON.stringify({ subscribe: ['/*'] })) ws.onmessage = e => { const m = JSON.parse(e.data) if (m.type !== 'osc') return if (m.address === '/hydra/speed') speed(m.args[0]) } // Sending from Hydra: ws.send(JSON.stringify({ publish: { address: '/hydra/bri', args: [0.8] } }))
// Send OSC to broker (UDP) [udpsend osc.dinggoo.nl 5051] // Send OSC via TCP [tcpclient osc.dinggoo.nl 8766] // Receive OSC: add MaxMSP as a UDP target [udpreceive 50000]
MaxMSP sends UDP to the broker, which forwards it to all WebSocket subscribers. Add MaxMSP as a UDP target to receive messages back.
// Browser or Node.js const ws = new WebSocket('wss://osc.dinggoo.nl') ws.onopen = () => { ws.send(JSON.stringify({ subscribe: ['/hydra/*', '/test'] })) } ws.onmessage = e => { const msg = JSON.parse(e.data) if (msg.type === 'osc') console.log(msg.address, msg.args) } // Publish as JSON: ws.send(JSON.stringify({ publish: { address: '/test', args: [1, 0.5] } }))