       Serial.print("Set Volume "); Serial.println(volume);
       player.setVolume(volume, volume);
     }
-    if (player.stopped()) onStop();
-  }
+  }
+  
   return READ_DELAY;
 }
 



#define NUMKEYS 4
#define BLINK_DELAY 100
#define READ_DELAY   50

// Trellis pin setup
#define INTPIN 1

  }
  if (nextIdleTick <= now) {
    nextIdleTick += tickIdleShow();
  }

  // Check for finished track
  if (state == PLAY_SELECTED) {
    if (player.stopped()) onStop();
  }
}

