midi: clean

This commit is contained in:
bordun 2020-09-21 22:21:41 +02:00
parent ae0994e57e
commit de3440d715
2 changed files with 4 additions and 7 deletions

View file

@ -11,9 +11,6 @@ MIDI_TO_OSC = {
POLY_PRESSURE: '/key_pressure'
}
for i in range(SYSTEM_EXCLUSIVE + 1, 256):
MIDI_TO_OSC[i] = '/sysex'
OSC_TO_MIDI = {
'/note': NOTE_ON,
'/control': CONTROL_CHANGE,
@ -36,7 +33,7 @@ def midi_str(message):
else:
status = message[0]
channel = (status & 0xF) + 1
channel = (status & 0x0F) + 1
try: