byte pilihHari[20];

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  Serial.println("test");
}

void loop() {
  // put your main code here, to run repeatedly:
  pilihHari[15] = 7;
  mp3Trigger();
}

void mp3Trigger() {
  for (int i = 0; i < 16; i++) {
    if (pilihHari[i] > 0 && pilihHari[i] <= 8) {
      if (i >= 0 && i < 4) {
        //mp3PlayT1();
        Serial.println("song 1");
      }
      else if (i >= 4 && i < 8) {
        //mp3PlayT2();
        Serial.println("song 2");
      }
      else if (i >= 8 && i < 12) {
        //mp3PlayT3();
        Serial.println("song 3");
      }
      else if (i >= 12 && i < 16) {
        //mp3PlayT4();
        Serial.println("song 4");
      }
    }
  }
}