midi: remove variable args in sysex messages (can be handled many ways now); allow sending any system message; add support for receiving mtc (as sysex); add support for sending sysex bytes as integers

This commit is contained in:
bordun 2020-09-21 13:25:43 +02:00
parent 61531385f8
commit c91afb6dab
6 changed files with 34 additions and 22 deletions

View file

@ -11,6 +11,9 @@ 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,