 }
 
 inline void send_emphasis_event(boolean emphasis_blocked) {
-#ifdef DBG
-  if (emphasis_blocked)
-    Serial.println("E");
-  else
-    Serial.println("e");
-#endif
-
   if (!emphasis_blocked) { //set time stamp start to measure time between emphasis and laser 0 duration for calculation of velocity
     emphasis_last_blocked_us = micros();
   }



inline void send_laser_event(boolean laser_blocked, int l_idx) {
#ifdef DBG
  if (laser_blocked)
    Serial.print("L");
  else
    Serial.print("l");
  Serial.println(l_idx);
#endif

  if (laser_blocked) {
    int s0p = 0;
    for (int fr = 0; fr < NO_FRETS; fr++) {

#define LASER_THOLD 1000 //[us]
#define STOP_THOLD 500000 //[us]
#define FRET_SLIDING_THOLD 500000 //[us]
#define PITCH_HALFTONE 5
#define VEL_TIME_OUT_OF_RANGE 200000 //[us]
#define VEL_TIME_MIN 6000
#define VEL_TIME_MAX 25000
