diff --git a/hardware/HemispherePanel_14HP.fpd b/hardware/HemispherePanel_14HP.fpd new file mode 100644 index 000000000..d87f4f140 Binary files /dev/null and b/hardware/HemispherePanel_14HP.fpd differ diff --git a/software/o_c_REV/APP_MIDI.ino b/software/o_c_REV/APP_MIDI.ino index 40a3a49c8..b9d48cfbe 100644 --- a/software/o_c_REV/APP_MIDI.ino +++ b/software/o_c_REV/APP_MIDI.ino @@ -121,12 +121,13 @@ enum MIDI_OUT_FUNCTION { }; const char* const midi_messages[7] = { - "Note", "Off", "CC#", "Aft", "Bend", "SysEx", "Clock" + "Note", "Off", "CC#", "Aft", "Bend", "SysEx", "Diag" }; +//#define MIDI_DIAGNOSTIC struct CaptainMIDILog { bool midi_in; // 0 = out, 1 = in char io; // 1, 2, 3, 4, A, B, C, D - uint8_t message; // 0 = Note On, 1 = Note Off, 2 = CC, 3 = Aftertouch, 4 = Bend, 5 = SysEx, 6 = Clock + uint8_t message; // 0 = Note On, 1 = Note Off, 2 = CC, 3 = Aftertouch, 4 = Bend, 5 = SysEx, 6 = Diagnostic uint8_t channel; // MIDI channel int16_t data1; int16_t data2; @@ -749,6 +750,12 @@ private: if (clock_count % mod == 0) ClockOut(ch); } + #ifdef MIDI_DIAGNOTIC + if (message > 0) { + UpdateLog(1, ch, 6, message, data1, data2); + } + #endif + if (indicator) indicator_in[ch] = MIDI_INDICATOR_COUNTDOWN; } }