better osc debug log
This commit is contained in:
parent
65457bfb3a
commit
1942ca66f4
2 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
- node-osc 2.0.3
|
||||
- features
|
||||
- `compact` option added to knob and fader
|
||||
- if an osc input port is specified, osc messages will be sent from it. This enhances compatibility with apps that send their feedback messages directly to the sender.
|
||||
|
||||
## 0.4.5
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ module.exports = function(ipc, settings) {
|
|||
var data = {path:msg.shift(),args:msg}
|
||||
if (data.args.length==1) data.args = data.args[0]
|
||||
ipc.send('receiveOsc',data)
|
||||
if (debug) console.log('OSC received: ',data,rinfo)
|
||||
if (debug) console.log('OSC received: ',data, 'From : ' + rinfo.address + ':' + rinfo.port)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue