debug: homogenize osc and midi debug strings
This commit is contained in:
parent
9cbd496d16
commit
9a5f049d45
2 changed files with 4 additions and 4 deletions
|
|
@ -90,7 +90,7 @@ def create_callback(name):
|
|||
ipc_send('osc', osc)
|
||||
|
||||
if debug:
|
||||
ipc_send('log','MIDI received: <%s> to %s' % (midi_str(message), name))
|
||||
ipc_send('log','MIDI received: <%s> From: midi:%s' % (midi_str(message), name))
|
||||
|
||||
|
||||
def callback_error_wrapper(event, data):
|
||||
|
|
@ -186,7 +186,7 @@ def send_midi(name, event, *args):
|
|||
|
||||
if debug:
|
||||
|
||||
ipc_send('log','MIDI sent: <%s> to %s' % (midi_str(m), name))
|
||||
ipc_send('log','MIDI sent: <%s> To: midi:%s' % (midi_str(m), name))
|
||||
|
||||
|
||||
while True:
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ class OscServer {
|
|||
})
|
||||
}
|
||||
|
||||
if (debug) console.log('OSC sent: ',{address:data.address, args: data.args}, 'To : ' + data.host + ':' + data.port)
|
||||
if (debug) console.log('OSC sent: ',{address:data.address, args: data.args}, 'To: ' + data.host + ':' + data.port)
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -167,7 +167,7 @@ class OscServer {
|
|||
|
||||
ipc.send('receiveOsc',data)
|
||||
|
||||
if (debug) console.log('OSC received: ', {address:data.address, args: data.args}, 'From : ' + data.host + ':' + data.port)
|
||||
if (debug) console.log('OSC received: ', {address:data.address, args: data.args}, 'From: ' + data.host + ':' + data.port)
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue