     return NEXT_PART;
   } else if (strcmp(strings, "SS") == 0) {
     return SONG_SIGNATURE;
+  } else if (strcmp(strings, "M") == 0) {
+    return METRONOME;
   }
   return -1;
 }

      case SONG_SIGNATURE:
        handleSongSignature(decoded + 4);
        break;
    }
  }
}

elapsedMillis repeatElapsed = 0;

elapsedMillis triggeredElapsed = 0;
boolean metronomeOn = false;

void OnNoteOn(byte channel, byte note, byte velocity) {
  digitalWrite(ledPin, HIGH);
