   char tag;
 };
 
-#define TRIGGER_COUNT 4
-struct trigger laser, screen, sound, gshock, zero_trigger, copy_trigger;
-struct trigger * triggers[TRIGGER_COUNT] = {&laser, &screen, &sound, &gshock};
+#define TRIGGER_COUNT 5
+struct trigger laser, screen, sound, midi, gshock, zero_trigger, copy_trigger;
+struct trigger * triggers[TRIGGER_COUNT] = {&laser, &screen, &sound, &midi, &gshock};
 
 #define CLOCK_SYNC_N 9
 struct clock_sync {

#define CMD_AUDIO               'A'
#define CMD_BEEP                'B'

#define CMD_NOTE                'N'



  screen.tag = 'S';
  gshock.tag = 'G';
  sound.tag = 'A';  // for Audio
  midi.tag = 'M';

  led_state = false;
  interrupts();
