midi: print port name in debug messages
This commit is contained in:
parent
24c7bba921
commit
ec816ba282
2 changed files with 4 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ def create_callback(name):
|
|||
ipc_send('osc', osc)
|
||||
|
||||
if debug:
|
||||
ipc_send('log','MIDI received: %s' % midi_str(message))
|
||||
ipc_send('log','MIDI received: <%s> to %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' % midi_str(m))
|
||||
ipc_send('log','MIDI sent: <%s> to %s' % (midi_str(m), name))
|
||||
|
||||
|
||||
while True:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue