// Продолжение кода часть 3
tone(tonePin, 440, 281.25);
delay(312.5);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 523, 1125.0);
delay(1250.0);
tone(tonePin, 698, 1125.0);
delay(1250.0);
tone(tonePin, 659, 281.25);
delay(312.5);
tone(tonePin, 587, 281.25);
delay(312.5);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 587, 281.25);
delay(312.5);
tone(tonePin, 659, 843.75);
delay(937.5);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 523, 1125.0);
delay(1250.0);
tone(tonePin, 587, 1125.0);
delay(1250.0);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 493, 281.25);
delay(312.5);
tone(tonePin, 440, 281.25);
delay(312.5);
tone(tonePin, 493, 281.25);
delay(312.5);
tone(tonePin, 523, 843.75);
delay(937.5);
tone(tonePin, 440, 281.25);
delay(312.5);
tone(tonePin, 440, 1125.0);
delay(1250.0);
tone(tonePin, 523, 562.5);
delay(625.0);
tone(tonePin, 493, 281.25);
delay(312.5);
tone(tonePin, 440, 281.25);
delay(312.5);
tone(tonePin, 391, 562.5);
delay(625.0);
tone(tonePin, 261, 421.875);
delay(468.75);
tone(tonePin, 261, 140.625);
delay(156.25);
tone(tonePin, 523, 562.5);
delay(625.0);
tone(tonePin, 493, 421.875);
delay(468.75);
tone(tonePin, 440, 140.625);
delay(156.25);
tone(tonePin, 391, 843.75);
delay(937.5);
tone(tonePin, 391, 281.25);
delay(312.5);
tone(tonePin, 523, 562.5);
delay(625.0);
tone(tonePin, 391, 421.875);
delay(468.75);
tone(tonePin, 440, 140.625);
delay(156.25);
tone(tonePin, 493, 562.5);
delay(625.0);
tone(tonePin, 329, 281.25);
delay(312.5);
tone(tonePin, 329, 281.25);
delay(312.5);
tone(tonePin, 440, 562.5);
delay(625.0);
tone(tonePin, 391, 421.875);
delay(468.75);
tone(tonePin, 349, 140.625);
delay(156.25);
tone(tonePin, 391, 562.5);
delay(625.0);
tone(tonePin, 261, 281.25);
delay(312.5);
tone(tonePin, 261, 281.25);
delay(312.5);
tone(tonePin, 293, 562.5);
delay(625.0);
tone(tonePin, 293, 281.25);
delay(312.5);
tone(tonePin, 329, 281.25);
delay(312.5);
tone(tonePin, 349, 562.5);
delay(625.0);
tone(tonePin, 349, 281.25);
delay(312.5);
tone(tonePin, 391, 281.25);
delay(312.5);
tone(tonePin, 440, 562.5);
delay(625.0);
tone(tonePin, 493, 281.25);
delay(312.5);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 587, 843.75);
delay(937.5);
tone(tonePin, 391, 281.25);
delay(312.5);
tone(tonePin, 659, 562.5);
delay(625.0);
tone(tonePin, 587, 421.875);
delay(468.75);
tone(tonePin, 523, 140.625);
delay(156.25);
tone(tonePin, 587, 562.5);
delay(625.0);
tone(tonePin, 493, 281.25);
delay(312.5);
tone(tonePin, 391, 281.25);
delay(312.5);
tone(tonePin, 523, 562.5);
delay(625.0);
tone(tonePin, 493, 421.875);
delay(468.75);
tone(tonePin, 440, 140.625);
delay(156.25);
tone(tonePin, 493, 562.5);
delay(625.0);
tone(tonePin, 329, 281.25);
delay(312.5);
tone(tonePin, 329, 281.25);
delay(312.5);
tone(tonePin, 440, 562.5);
delay(625.0);
tone(tonePin, 391, 281.25);
delay(312.5);
tone(tonePin, 349, 281.25);
delay(312.5);
tone(tonePin, 391, 562.5);
delay(625.0);
tone(tonePin, 261, 281.25);
delay(312.5);
tone(tonePin, 261, 281.25);
delay(312.5);
tone(tonePin, 523, 562.5);
delay(625.0);
tone(tonePin, 493, 421.875);
delay(468.75);
tone(tonePin, 440, 140.625);
delay(156.25);
tone(tonePin, 391, 1125.0);
delay(1250.0);
tone(tonePin, 659, 1125.0);
delay(1250.0);
tone(tonePin, 587, 281.25);
delay(312.5);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 493, 281.25);
delay(312.5);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 587, 843.75);
delay(937.5);
tone(tonePin, 391, 281.25);
delay(312.5);
tone(tonePin, 391, 1125.0);
delay(1250.0);
tone(tonePin, 523, 1125.0);
delay(1250.0);
tone(tonePin, 493, 281.25);
delay(312.5);
tone(tonePin, 440, 281.25);
delay(312.5);
tone(tonePin, 391, 281.25);
delay(312.5);
tone(tonePin, 440, 281.25);
delay(312.5);
tone(tonePin, 493, 843.75);
delay(937.5);
tone(tonePin, 329, 281.25);
delay(312.5);
tone(tonePin, 329, 562.5);
delay(625.0);
delay(625.0);
tone(tonePin, 523, 562.5);
delay(625.0);
tone(tonePin, 440, 421.875);
delay(468.75);
tone(tonePin, 493, 140.625);
delay(156.25);
tone(tonePin, 523, 562.5);
delay(625.0);
tone(tonePin, 440, 421.875);
delay(468.75);
tone(tonePin, 493, 140.625);
delay(156.25);
tone(tonePin, 523, 562.5);
delay(625.0);
tone(tonePin, 440, 281.25);
delay(312.5);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 523, 1125.0);
delay(1250.0);
tone(tonePin, 698, 1125.0);
delay(1250.0);
tone(tonePin, 659, 281.25);
delay(312.5);
tone(tonePin, 587, 281.25);
delay(312.5);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 587, 281.25);
delay(312.5);
tone(tonePin, 659, 843.75);
delay(937.5);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 523, 1125.0);
delay(1250.0);
tone(tonePin, 587, 1125.0);
delay(1250.0);
tone(tonePin, 523, 281.25);
delay(312.5);
tone(tonePin, 493, 281.25);
delay(312.5);
tone(tonePin, 440, 281.25);
delay(312.5);
tone(tonePin, 493, 281.25);
delay(312.5);
tone(tonePin, 523, 843.75);
delay(937.5);
tone(tonePin, 440, 281.25);
delay(312.5);
tone(tonePin, 440, 1125.0);
delay(1250.0);
tone(tonePin, 523, 562.5);
delay(625.0);
tone(tonePin, 493, 281.25);
delay(312.5);
tone(tonePin, 440, 281.25);
delay(312.5);
tone(tonePin, 391, 562.5);
delay(625.0);
tone(tonePin, 261, 421.875);
delay(468.75);
tone(tonePin, 261, 140.625);
delay(156.25);
tone(tonePin, 391, 1125.0);
delay(1250.0);
tone(tonePin, 440, 562.5);
delay(625.0);
tone(tonePin, 493, 562.5);
delay(625.0);
tone(tonePin, 523, 1687.5);
delay(1875.0);
}
void loop() {
// Play midi
midi();
} |