consistency
This commit is contained in:
parent
00019ea7e7
commit
20250a4b94
1 changed files with 1 additions and 3 deletions
|
@ -145,8 +145,6 @@ def looper():
|
||||||
|
|
||||||
|
|
||||||
# setup MIDI ports
|
# setup MIDI ports
|
||||||
# send_port = mido.open_output('send-to-K2')
|
|
||||||
|
|
||||||
def midi_setup(label):
|
def midi_setup(label):
|
||||||
mido.open_input(label, callback=parse_midi_message)
|
mido.open_input(label, callback=parse_midi_message)
|
||||||
port = mido.open_output(label)
|
port = mido.open_output(label)
|
||||||
|
@ -157,7 +155,7 @@ def main():
|
||||||
global osc, k2_send_port
|
global osc, k2_send_port
|
||||||
args = parse_arguments()
|
args = parse_arguments()
|
||||||
osc = osc_setup(args.osc_host, args.osc_port)
|
osc = osc_setup(args.osc_host, args.osc_port)
|
||||||
# midi = midi_setup('XONE:K2')
|
midi = midi_setup(args.midi_port)
|
||||||
# event loop
|
# event loop
|
||||||
looper()
|
looper()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue