From d688030c14af12c209020e04f65ca3b7199a06a0 Mon Sep 17 00:00:00 2001 From: Eric Bateman Date: Sun, 11 Aug 2019 00:34:40 -0700 Subject: [PATCH] debugging --- .DS_Store | Bin 0 -> 6148 bytes src/MIDI.hpp | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..9a874b5768f336915163bb88cd434575b859f936 GIT binary patch literal 6148 zcmeH~Jr2S!425ml0g0s}V-^m;4I%_5-~tF3k&vj^b9A16778<}(6eNJu~Vz<8=6`~ zboab&MFtUB!i}=AFfm2m$tVxGT*u4pe81nUlA49C} z?O@64YO)2RT{MRe%{!}2F))pG(Sih~)xkgosK7*lF7m<7{{#Hn{6A@7N(HFEpDCdI z{::send(MidiType inType, inChannel == MIDI_CHANNEL_OMNI || inType < 0x80) { + Serial.print("invalch: "); Serial.println(inType); return; // Don't send anything } if (inType <= PitchBend) // Channel messages { + Serial.print("chmsg: "); Serial.println(inType); // Protection: remove MSBs on data inData1 &= 0x7f; inData2 &= 0x7f; @@ -175,6 +178,7 @@ void MidiInterface::send(MidiType inType, } else if (inType >= Clock && inType <= SystemReset) { + Serial.print("sendRT: "); Serial.println(inType); sendRealTime(inType); // System Real-time and 1 byte. } }