Mackie-Control-Universal-Reverse-Engineering
Sketch that reads the MIDI input from the USB MIDI Interface and prints it to the Serial monitor, including the Mackie Control Universal note names.
This is useful to discover what kinds of messages your DAW is sending.
- Boards:
 - AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
 
 
 
 
  if ((cm.
header & 0xF0) == 0x90)
 
  else 
  return false; 
                
                
                
}
 
  Serial << 
F(
"SysEx: ") << 
hex;
 
  for (
size_t i = 0; i < se.
length; ++i)
 
    Serial << se.
data[i] << 
' ';
 
  return false; 
                
                
                
}
 
         << 
F(
" on cable ") << rt.
CN << 
endl;
 
  return false; 
                
                
                
}
 
void setup() {
  
  
  Serial.begin(1000000);
                                        sysExMessageCallback,     
                                        realTimeMessageCallback); 
}
 
void loop() {
}