     while( !isPress() ){
         delay(500);
         song1.play();
-        while( song1.isPlaying() || !isPress() ){ 
+        while( song1.isPlaying() && !isPress() ){ 
             static unsigned long cnt=0;
             cnt += song1.play();
             Led::setAll(OFF);
             Led::set(cnt%9,WHITE);
-            Led::lighting();
+//            Led::lighting();
+            Serial.print(song1.isPlaying());
+            Serial.print("_");
+            Serial.println( song1.isPlaying() && !isPress());
         }
         song1.stop();
         Led::setAll(OFF);
-        Led::lighting();
+//        Led::lighting();
     }
     while( isPress() );  //スイッチが離されるまで待つ
 

        song2.stop();
        Led::setAll(OFF);
        Led::lighting();
    }
    while( isPress() );  //スイッチが離されるまで待つ


    song1.setMelody(melody1,noteDurations1,82);
    song2.setMelody(melody2,noteDurations2,68);
    
    Serial.begin(115200);
    Serial.println("Ready.");
}

void loop(){
