Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int count = 0;
- int i1 = 6;
- int i2 = 7;
- void setup() {
- // put your setup code here, to run once:
- Serial.begin(9600);
- pinMode(6, OUTPUT);
- randomSeed(analogRead(7));
- }
- void loop() {
- int sensorValue = analogRead(A0);
- // Serial.println(sensorValue);
- if (sensorValue > 1000) {
- float k = random(0,100);
- Serial.println(k);
- mortalKombat();
- // if(count == 1) {
- // GoT2();
- // count = 2;
- // }
- // else if(count == 2) {
- // GoT3();
- // count = 0;
- // }
- // else if(k < 9.09) {
- // turningTables();
- // }
- // else if(k < 18.18) {
- // theEntertainer();
- // }
- // else if(k < 27.27) {
- // GoT();
- // count = 1;
- // }
- // else if(k < 36.36) {
- // chromatic();
- // }
- // else if(k < 45.45) {
- // theGood();
- // }
- // else if(k < 54.54) {
- // Funeral();
- // }
- // else if(k < 63.63) {
- // darude();
- // }
- // else if(k < 72.72) {
- // songOfStorms();
- // }
- // else if(k < 81.81) {
- // imperialMarch();
- // }
- // else if(k < 90.90) {
- // sixFlags();
- // }
- // else {
- // harryPotter();
- // }
- }
- delay(100);
- }
- void theEntertainer() {
- // put your main code here, to run repeatedly:
- tone(6,293.66); //phrase 1 3250ms
- delay(250);
- tone(6,311.13);
- delay(250);
- tone(6,329.63);
- delay(250);
- tone(6,523.25);
- delay(500);
- tone(6,329.63);
- delay(250);
- tone(6,523.25);
- delay(500);
- tone(6,329.63);
- delay(250);
- tone(6,523.25);
- delay(1000);
- noTone(6); //silence
- // delay(250);
- //
- // tone(pin,587.33); //phrase 2
- // delay(250);
- // tone(pin,622.25);
- // delay(250);
- // tone(pin,659.25);
- // delay(250);
- // tone(pin,523.25);
- // delay(250);
- // tone(pin,587.33);
- // delay(250);
- // tone(pin,659.25);
- // delay(500);
- // tone(pin,493.88);
- // delay(250);
- // tone(pin,587.33);
- // delay(500);
- // tone(pin,523.25);
- // delay(1000);
- //
- // notone(pin); //silence
- // delay(250);
- //
- // tone(pin,293.66); //phrase 1
- // delay(250);
- // tone(pin,311.13);
- // delay(250);
- // tone(pin,329.63);
- // delay(250);
- // tone(pin,523.25);
- // delay(500);
- // tone(pin,329.63);
- // delay(250);
- // tone(pin,523.25);
- // delay(500);
- // tone(pin,329.63);
- // delay(250);
- // tone(pin,523.25);
- // delay(1000);
- //
- // notone(pin); //silence
- // delay(250);
- //
- // tone(pin,440.00); //phrase 3
- // delay(250);
- // tone(pin,392.00);
- // delay(250);
- // tone(pin,369.99);
- // delay(250);
- // tone(pin,440.00);
- // delay(250);
- // tone(pin,523.25);
- // delay(250);
- // tone(pin,659.25);
- // delay(500);
- // tone(pin,587.33);
- // delay(250);
- // tone(pin,523.25);
- // delay(250);
- // tone(pin,440.00);
- // delay(250);
- // tone(pin,587.33);
- // delay(1000);
- //
- // notone(pin); //silence
- // delay(250);
- //
- // tone(pin,293.66); //phrase 1
- // delay(250);
- // tone(pin,311.13);
- // delay(250);
- // tone(pin,329.63);
- // delay(250);
- // tone(pin,523.25);
- // delay(500);
- // tone(pin,329.63);
- // delay(250);
- // tone(pin,523.25);
- // delay(500);
- // tone(pin,329.63);
- // delay(250);
- // tone(pin,523.25);
- // delay(1000);
- //
- // notone(pin); //silence
- // delay(250);
- //
- // tone(pin,587.33); //phrase 2
- // delay(250);
- // tone(pin,622.25);
- // delay(250);
- // tone(pin,659.25);
- // delay(250);
- // tone(pin,523.25);
- // delay(250);
- // tone(pin,587.33);
- // delay(250);
- // tone(pin,659.25);
- // delay(500);
- //
- // tone(pin,587.33); //phrase 2
- // delay(250);
- // tone(pin,622.25);
- // delay(250);
- // tone(pin,659.25);
- // delay(250);
- // tone(pin,523.25);
- // delay(250);
- // tone(pin,587.33);
- // delay(250);
- // tone(pin,659.25);
- // delay(500);
- //
- // tone(pin,587.33); //phrase 2
- // delay(250);
- // tone(pin,622.25);
- // delay(250);
- // tone(pin,659.25);
- // delay(250);
- // tone(pin,523.25);
- // delay(250);
- // tone(pin,587.33);
- // delay(250);
- // tone(pin,659.25);
- // delay(500);
- // tone(pin,493.88);
- // delay(250);
- // tone(pin,587.33);
- // delay(500);
- // tone(pin,523.25);
- // delay(1000);
- }
- void Czero(int pin, int d)
- {
- tone(pin, 16.35);
- delay(d);
- }
- void Dzero(int pin, int d)
- {
- tone(pin, 18.35);
- delay(d);
- }
- void Ezero(int pin, int d)
- {
- tone(pin, 20.60);
- delay(d);
- }
- void Fzero(int pin, int d)
- {
- tone(pin, 21.83);
- delay(d);
- }
- void Gzero(int pin, int d)
- {
- tone(pin, 24.50);
- delay(d);
- }
- void Azero(int pin, int d)
- {
- tone(pin, 27.50);
- delay(d);
- }
- void Bzero(int pin, int d)
- {
- tone(pin, 30.87);
- delay(d);
- }
- void Cone(int pin, int d)
- {
- tone(pin, 32.70);
- delay(d);
- }
- void Csone(int pin, int d)
- {
- tone(pin, 34.65);
- delay(d);
- }
- void Done(int pin, int d)
- {
- tone(pin, 36.71);
- delay(d);
- }
- void Dsone(int pin, int d)
- {
- tone(pin, 38.89);
- delay(d);
- }
- void Eone(int pin, int d)
- {
- tone(pin, 41.20);
- delay(d);
- }
- void Fone(int pin, int d)
- {
- tone(pin, 43.65);
- delay(d);
- }
- void Fsone(int pin, int d)
- {
- tone(pin, 46.25);
- delay(d);
- }
- void Gone(int pin, int d)
- {
- tone(pin, 49.00);
- delay(d);
- }
- void Gsone(int pin, int d)
- {
- tone(pin, 51.91);
- delay(d);
- }
- void Aone(int pin, int d)
- {
- tone(pin, 55.00);
- delay(d);
- }
- void Asone(int pin, int d)
- {
- tone(pin, 58.27);
- delay(d);
- }
- void Bone(int pin, int d)
- {
- tone(pin, 61.74);
- delay(d);
- }
- void Ctwo(int pin, int d)
- {
- tone(pin, 65.41);
- delay(d);
- }
- void Cstwo(int pin, int d)
- {
- tone(pin, 69.30);
- delay(d);
- }
- void Dtwo(int pin, int d)
- {
- tone(pin, 73.42);
- delay(d);
- }
- void Dstwo(int pin, int d)
- {
- tone(pin, 77.78);
- delay(d);
- }
- void Etwo(int pin, int d)
- {
- tone(pin, 82.41);
- delay(d);
- }
- void Ftwo(int pin, int d)
- {
- tone(pin, 87.31);
- delay(d);
- }
- void Fstwo(int pin, int d)
- {
- tone(pin, 92.50);
- delay(d);
- }
- void Gtwo(int pin, int d)
- {
- tone(pin, 98.00);
- delay(d);
- }
- void Gstwo(int pin, int d)
- {
- tone(pin, 103.83);
- delay(d);
- }
- void Atwo(int pin, int d)
- {
- tone(pin, 110.00);
- delay(d);
- }
- void Astwo(int pin, int d)
- {
- tone(pin, 116.54);
- delay(d);
- }
- void Btwo(int pin, int d)
- {
- tone(pin, 123.47);
- delay(d);
- }
- void Cthree(int pin, int d)
- {
- tone(pin, 130.81);
- delay(d);
- }
- void Csthree(int pin, int d)
- {
- tone(pin, 138.59);
- delay(d);
- }
- void Dthree(int pin, int d)
- {
- tone(pin, 146.83);
- delay(d);
- }
- void Dsthree(int pin, int d)
- {
- tone(pin, 155.56);
- delay(d);
- }
- void Ethree(int pin, int d)
- {
- tone(pin, 164.81);
- delay(d);
- }
- void Fthree(int pin, int d)
- {
- tone(pin, 174.61);
- delay(d);
- }
- void Fsthree(int pin, int d)
- {
- tone(pin, 185.00);
- delay(d);
- }
- void Gthree(int pin, int d)
- {
- tone(pin, 196.00);
- delay(d);
- }
- void Gsthree(int pin, int d)
- {
- tone(pin, 207.65);
- delay(d);
- }
- void Athree(int pin, int d)
- {
- tone(pin, 220.00);
- delay(d);
- }
- void Asthree(int pin, int d)
- {
- tone(pin, 233.08);
- delay(d);
- }
- void Bthree(int pin, int d)
- {
- tone(pin, 246.94);
- delay(d);
- }
- void Cfour(int pin, int d)
- {
- tone(pin, 261.63);
- delay(d);
- }
- void Csfour(int pin, int d)
- {
- tone(pin, 277.18);
- delay(d);
- }
- void Dfour(int pin, int d)
- {
- tone(pin, 293.66);
- delay(d);
- }
- void Dsfour(int pin, int d)
- {
- tone(pin, 311.13);
- delay(d);
- }
- void Efour(int pin, int d)
- {
- tone(pin, 329.63);
- delay(d);
- }
- void Ffour(int pin, int d)
- {
- tone(pin, 349.23);
- delay(d);
- }
- void Fsfour(int pin, int d)
- {
- tone(pin, 369.99);
- delay(d);
- }
- void Gfour(int pin, int d)
- {
- tone(pin, 392.00);
- delay(d);
- }
- void Gsfour(int pin, int d)
- {
- tone(pin, 415.30);
- delay(d);
- }
- void Afour(int pin, int d)
- {
- tone(pin, 440.00);
- delay(d);
- }
- void Asfour(int pin, int d)
- {
- tone(pin, 466.16);
- delay(d);
- }
- void Bfour(int pin, int d)
- {
- tone(pin, 493.88);
- delay(d);
- }
- void Cfive(int pin, int d)
- {
- tone(pin, 523.25);
- delay(d);
- }
- void Csfive(int pin, int d)
- {
- tone(pin, 554.37);
- delay(d);
- }
- void Dfive(int pin, int d)
- {
- tone(pin, 587.33);
- delay(d);
- }
- void Dsfive(int pin, int d)
- {
- tone(pin, 622.25);
- delay(d);
- }
- void Efive(int pin, int d)
- {
- tone(pin, 659.25);
- delay(d);
- }
- void Ffive(int pin, int d)
- {
- tone(pin, 698.46);
- delay(d);
- }
- void Fsfive(int pin, int d)
- {
- tone(pin, 739.99);
- delay(d);
- }
- void Gfive(int pin, int d)
- {
- tone(pin, 783.99);
- delay(d);
- }
- void Gsfive(int pin, int d)
- {
- tone(pin, 830.61);
- delay(d);
- }
- void Afive(int pin, int d)
- {
- tone(pin, 880.00);
- delay(d);
- }
- void Asfive(int pin, int d)
- {
- tone(pin, 932.33);
- delay(d);
- }
- void Bfive(int pin, int d)
- {
- tone(pin, 987.77);
- delay(d);
- }
- void Csix(int pin, int d)
- {
- tone(pin, 1046.50);
- delay(d);
- }
- void Cssix(int pin, int d)
- {
- tone(pin, 1108.73);
- delay(d);
- }
- void Dsix(int pin, int d)
- {
- tone(pin, 1174.66);
- delay(d);
- }
- void Dssix(int pin, int d)
- {
- tone(pin, 1244.51);
- delay(d);
- }
- void Esix(int pin, int d)
- {
- tone(pin, 1318.51);
- delay(d);
- }
- void Fsix(int pin, int d)
- {
- tone(pin, 1396.91);
- delay(d);
- }
- void Fssix(int pin, int d)
- {
- tone(pin, 1479.98);
- delay(d);
- }
- void Gsix(int pin, int d)
- {
- tone(pin, 1567.98);
- delay(d);
- }
- void Asix(int pin, int d)
- {
- tone(pin, 1760.00);
- delay(d);
- }
- void Bsix(int pin, int d)
- {
- tone(pin, 1975.53);
- delay(d);
- }
- void Cseven(int pin, int d)
- {
- tone(pin, 2093.00);
- delay(d);
- }
- void Dseven(int pin, int d)
- {
- tone(pin, 2349.32);
- delay(d);
- }
- void Eseven(int pin, int d)
- {
- tone(pin, 2637.02);
- delay(d);
- }
- void Fseven(int pin, int d)
- {
- tone(pin, 2793.83);
- delay(d);
- }
- void Gseven(int pin, int d)
- {
- tone(pin, 3135.96);
- delay(d);
- }
- void Aseven(int pin, int d)
- {
- tone(pin, 3520.00);
- delay(d);
- }
- void Bseven(int pin, int d)
- {
- tone(pin, 3951.07);
- delay(d);
- }
- void Ceight(int pin, int d)
- {
- tone(pin, 4186.01);
- delay(d);
- }
- void s(int pin, int d)
- {
- noTone(pin);
- delay(d);
- }
- void mortalKombat1(){
- Afour(i1, 75);
- Atwo(i1, 75);
- Afour(i1, 75);
- Atwo(i1, 75);
- Cfive(i1, 75);
- Atwo(i1, 75);
- Afour(i1, 75);
- Atwo(i1, 75);
- Dfive(i1, 75);
- Atwo(i1, 75);
- Afour(i1, 75);
- Atwo(i1, 75);
- Efive(i1, 75);
- Atwo(i1, 75);
- Dfive(i1, 75);
- Atwo(i1, 75);
- Cfive(i1, 75);
- Cthree(i1, 75);
- Cfive(i1, 75);
- Cthree(i1, 75);
- Efive(i1, 75);
- Cthree(i1, 75);
- Cfive(i1, 75);
- Cthree(i1, 75);
- Gfive(i1, 75);
- Cthree(i1, 75);
- Cfive(i1, 75);
- Cthree(i1, 75);
- Efive(i1, 75);
- Cthree(i1, 75);
- Cfive(i1, 75);
- Cthree(i1, 75);
- Gfour(i1, 75);
- Gthree(i1, 75);
- Gfour(i1, 75);
- Gthree(i1, 75);
- Bfour(i1, 75);
- Gthree(i1, 75);
- Gfour(i1, 75);
- Gthree(i1, 75);
- Cfive(i1, 75);
- Gthree(i1, 75);
- Gfour(i1, 75);
- Gthree(i1, 75);
- Dfive(i1, 50);
- Gthree(i1, 75);
- Cfive(i1, 75);
- Gthree(i1, 75);
- Ffour(i1, 75);
- Fthree(i1, 75);
- Ffour(i1, 75);
- Fthree(i1, 75);
- Afour(i1, 75);
- Fthree(i1, 75);
- Ffour(i1, 75);
- Fthree(i1, 75);
- Cfive(i1, 75);
- Fthree(i1, 75);
- Ffour(i1, 75);
- Fthree(i1, 75);
- Cfive(i1, 75);
- Fthree(i1, 75);
- Bfour(i1, 75);
- Fthree(i1, 75);
- noTone(i1);
- }
- void mortalKombat2() {
- Afour(i1, 150);
- Atwo(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Afour(i1, 150);
- Atwo(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Cfive(i1, 150);
- Atwo(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Afour(i1, 150);
- Atwo(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Dfive(i1, 150);
- Atwo(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Afour(i1, 150);
- Atwo(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Efive(i1, 150);
- Atwo(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Dfive(i1, 150);
- Atwo(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Cfive(i1, 150);
- Cthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Cfive(i1, 150);
- Cthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Efive(i1, 150);
- Cthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Cfive(i1, 150);
- Cthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Gfive(i1, 150);
- Cthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Cfive(i1, 150);
- Cthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Efive(i1, 150);
- Cthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Cfive(i1, 150);
- Cthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Gfour(i1, 150);
- Gthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Gfour(i1, 150);
- Gthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Bfour(i1, 150);
- Gthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Gfour(i1, 150);
- Gthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Cfive(i1, 150);
- Gthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Gfour(i1, 150);
- Gthree(i2, 150);
- s(i1, 50);
- Dfive(i2, 50);
- (i1, 150);
- Gthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Cfive(i1, 150);
- Gthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Ffour(i1, 150);
- Fthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Ffour(i1, 150);
- Fthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Afour(i1, 150);
- Fthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Ffour(i1, 150);
- Fthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Cfive(i1, 150);
- Fthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Ffour(i1, 150);
- Fthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Cfive(i1, 150);
- Fthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- Bfour(i1, 150);
- Fthree(i2, 150);
- s(i1, 50);
- s(i2, 50);
- noTone(i1);
- noTone(i2);
- }
- void sixFlags() {
- Efive(i1,150*1.15);
- s(i1,10);
- Dfive(i1,150*1.15);
- s(i1,10);
- Efive(i1,150*1.15);
- s(i1,10);
- Dfive(i1,150*1.15);
- s(i1,10);
- Efive(i1,150*1.15);
- s(i1,10);
- Afour(i1,225*1.15);
- s(i1,25);
- Afour(i1,225*1.15);
- Efive(i1,150*1.15);
- s(i1,10);
- Dfive(i1,150*1.15);
- s(i1,10);
- Efive(i1,150*1.15);
- s(i1,10);
- Dfive(i1,150*1.15);
- s(i1,10);
- Efive(i1,150*1.15);
- s(i1,10);
- Afour(i1,225*1.15);
- s(i1,25);
- Afour(i1,225*1.15);
- Efive(i1,150*1.15);
- s(i1,10);
- Dfive(i1,150*1.15);
- s(i1,10);
- Efive(i1,150*1.15);
- s(i1,10);
- Dfive(i1,150*1.15);
- s(i1,10);
- Cfive(i1,150*1.15);
- s(i1,10);
- Efive(i1,225*1.15);
- s(i1,25);
- Efive(i1,225*1.15);
- s(i1,25);
- Efive(i1,150*1.15);
- s(i1,10);
- Dfive(i1,150*1.15);
- s(i1,10);
- Efive(i1,150*1.15);
- s(i1,10);
- Dfive(i1,150*1.15);
- s(i1,10);
- Cfive(i1,150*1.15);
- s(i1,10);
- Efive(i1,225*1.15);
- s(i1,25);
- Efive(i1,225*1.15);
- noTone(i1);
- }
- void imperialMarch() {
- Gfour(i1,200*1.5);
- s(i1,25);
- Gfour(i1,200*1.5);
- s(i1,25);
- Gfour(i1,200*1.5);
- s(i1,25);
- Dsfour(i1,150*1.5);
- s(i1,25);
- Asfour(i1,50*1.5);
- s(i1,25);
- Gfour(i1,200*1.5);
- s(i1,25);
- Dsfour(i1,150*1.5);
- s(i1,25);
- Asfour(i1,50*1.5);
- s(i1,25);
- Gfour(i1,400*1.5);
- s(i1,25);
- Dfive(i1,200*1.5);
- s(i1,25);
- Dfive(i1,200*1.5);
- s(i1,25);
- Dfive(i1,200*1.5);
- s(i1,25);
- Dsfive(i1,150*1.5);
- s(i1,25);
- Asfour(i1,50*1.5);
- s(i1,25);
- Fsfour(i1,200*1.5);
- s(i1,25);
- Dsfour(i1,150*1.5);
- s(i1,25);
- Asfour(i1,50*1.5);
- s(i1,25);
- Gfour(i1,400*1.5);
- noTone(i1);
- }
- void songOfStorms() {
- Dfour(i1,150*.85);
- Ffour(i1,150*.85);
- Dfive(i1,600*.85);
- Dfour(i1,150*.85);
- Ffour(i1,150*.85);
- Dfive(i1,600*.85);
- Efive(i1,450*.85);
- Ffive(i1,150*.85);
- Efive(i1,150*.85);
- Ffive(i1,150*.85);
- Efive(i1,150*.85);
- Cfive(i1,150*.85);
- Afour(i1,600*.85);
- s(i1,100);
- Afour(i1,300*.85);
- Dfour(i1,300*.85);
- Ffour(i1,150*.85);
- Gfour(i1,150*.85);
- Afour(i1,600*.85);
- s(i1,25);
- Afour(i1,300*.85);
- Dfour(i1,300*.85);
- Ffour(i1,150*.85);
- Gfour(i1,150*.85);
- Efour(i1,600*.85);
- noTone(i1);
- }
- void harryPotter() {
- Bthree(i1,200*1.1);
- Efour(i1,300*1.1);
- Gfour(i1,100*1.1);
- Fsfour(i1,200*1.1);
- Efour(i1,400*1.1);
- Bfour(i1,200*1.1);
- Afour(i1,600*1.1);
- Fsfour(i1,500*1.1);
- s(i1,100*1.1);
- Efour(i1,300*1.1);
- Gfour(i1,100*1.1);
- Fsfour(i1,200*1.1);
- Dsfour(i1,400*1.1);
- Ffour(i1,200*1.1);
- Bthree(i1,500*1.1);
- noTone(i1);
- }
- void darude() {
- Bfour(i1,80);
- s(i1,25);
- Bfour(i1,80);
- s(i1,25);
- Bfour(i1,80);
- s(i1,25);
- Bfour(i1,80);
- s(i1,25);
- Bfour(i1,160);
- s(i1,25);
- Bfour(i1,80);
- s(i1,25);
- Bfour(i1,80);
- s(i1,25);
- Bfour(i1,80);
- s(i1,25);
- Bfour(i1,80);
- s(i1,25);
- Bfour(i1,80);
- s(i1,25);
- Bfour(i1,80);
- s(i1,25);
- Bfour(i1,160);
- s(i1,25);
- Efive(i1,80);
- s(i1,25);
- Efive(i1,80);
- s(i1,25);
- Efive(i1,80);
- s(i1,25);
- Efive(i1,80);
- s(i1,25);
- Efive(i1,80);
- s(i1,25);
- Efive(i1,80);
- s(i1,25);
- Efive(i1,160);
- s(i1,25);
- Dfive(i1,80);
- s(i1,25);
- Dfive(i1,80);
- s(i1,25);
- Dfive(i1,80);
- s(i1,25);
- Dfive(i1,80);
- s(i1,25);
- Dfive(i1,80);
- s(i1,25);
- Dfive(i1,80);
- s(i1,25);
- Dfive(i1,160);
- s(i1,25);
- Afour(i1,160);
- s(i1,25);
- Bfour(i1,320);
- noTone(i1);
- }
- void turningTables()
- {
- Cfour(i1,150);
- Dsfour(i1,150);
- Cfour(i1,150);
- Dsfour(i1,150);
- Asfour(i1,150);
- Dsfour(i1,150);
- Asfour(i1,150);
- Dsfour(i1,150);
- Cfour(i1,150);
- Dsfour(i1,150);
- Cfour(i1,150);
- Dsfour(i1,150);
- Asfour(i1,150);
- Dsfour(i1,150);
- Asfour(i1,150);
- Dsfour(i1,150);
- Cfour(i1,150);
- Dsfour(i1,150);
- Cfour(i1,150);
- Dsfour(i1,150);
- Gsfour(i1,150);
- Dsfour(i1,150);
- Gsfour(i1,150);
- Dsfour(i1,150);
- Cfour(i1,150);
- Dsfour(i1,150);
- Cfour(i1,150);
- Gsfour(i1,150);
- Gfour(i1,150);
- Cfour(i1,150);
- Dsfour(i1,150);
- Cfour(i1,150);
- noTone(i1);
- }
- void Funeral()
- {
- Bthree(i1,600*1.5);
- s(i1,10);
- Bthree(i1,450*1.5);
- s(i1,10);
- Bthree(i1,150*1.5);
- s(i1,10);
- Bthree(i1,600*1.5);
- Dfour(i1,450*1.5);
- Csfour(i1,150*1.5);
- s(i1,10);
- Csfour(i1,450*1.5);
- Bthree(i1,150*1.5);
- s(i1,10);
- Bthree(i1,450*1.5);
- Asthree(i1,150*1.5);
- Bthree(i1,800*1.5);
- noTone(i1);
- }
- void theGood()
- {
- Efour(i1,150);
- Afour(i1,150);
- Efour(i1,150);
- Afour(i1,150);
- Efour(i1,600);
- delay(200);
- Athree(i1,75);
- Bthree(i1,75);
- Cfour(i1,300);
- Bthree(i1,75);
- Cfour(i1,75);
- Dfour(i1,300);
- Fthree(i1,150);
- Gthree(i1,150);
- Athree(i1,1000);
- noTone(i1);
- }
- void GoT()
- {
- Gfour(i1,333);
- Cfour(i1,333);
- Efour(i1,166);
- Ffour(i1,166);
- Gfour(i1,333);
- Cfour(i1,333);
- Efour(i1,166);
- Ffour(i1,166);
- Gfour(i1,333);
- Cfour(i1,333);
- Efour(i1,166);
- Ffour(i1,166);
- Gfour(i1,333);
- Cfour(i1,333);
- noTone(i1);
- }
- void GoT2() {
- Gfour(i1,1000);
- Cfour(i1,1000);
- Dsfour(i1,166);
- Ffour(i1,166);
- Gfour(i1,666);
- Cfour(i1,666);
- Dsfour(i1,166);
- Ffour(i1,166);
- Dfour(i1,1500);
- noTone(i1);
- }
- void GoT3() {
- Ffour(i1,1000);
- Asthree(i1,1000);
- Dsfour(i1,166);
- Dfour(i1,166);
- Ffour(i1,666);
- Asthree(i1,1000);
- Dsfour(i1,166);
- Dfour(i1,166);
- Cfour(i1,1500);
- noTone(i1);
- }
- void chromatic()
- {
- Cone(i1,30);
- Done(i1,30);
- Eone(i1,30);
- Fone(i1,30);
- Gone(i1,30);
- Aone(i1,30);
- Bone(i1,30);
- Ctwo(i1,30);
- Dtwo(i1,30);
- Etwo(i1,30);
- Ftwo(i1,30);
- Gtwo(i1,30);
- Atwo(i1,30);
- Btwo(i1,30);
- Cthree(i1,30);
- Dthree(i1,30);
- Ethree(i1,30);
- Fthree(i1,30);
- Gthree(i1,30);
- Athree(i1,30);
- Bthree(i1,30);
- Cfour(i1,30);
- Dfour(i1,30);
- Efour(i1,30);
- Ffour(i1,30);
- Gfour(i1,30);
- Afour(i1,30);
- Bfour(i1,30);
- Cfive(i1,30);
- Dfive(i1,30);
- Efive(i1,30);
- Ffive(i1,30);
- Gfive(i1,30);
- Afive(i1,30);
- Bfive(i1,30);
- Csix(i1,30);
- Dsix(i1,30);
- Esix(i1,30);
- Fsix(i1,30);
- Gsix(i1,30);
- Asix(i1,30);
- Bsix(i1,30);
- Cseven(i1,30);
- Dseven(i1,30);
- Eseven(i1,30);
- Fseven(i1,30);
- Gseven(i1,30);
- Aseven(i1,30);
- Bseven(i1,30);
- Ceight(i1,30);
- Bseven(i1,30);
- Aseven(i1,30);
- Gseven(i1,30);
- Fseven(i1,30);
- Eseven(i1,30);
- Dseven(i1,30);
- Cseven(i1,30);
- Bsix(i1,30);
- Asix(i1,30);
- Gsix(i1,30);
- Fsix(i1,30);
- Esix(i1,30);
- Dsix(i1,30);
- Csix(i1,30);
- Bfive(i1,30);
- Afive(i1,30);
- Gfive(i1,30);
- Ffive(i1,30);
- Efive(i1,30);
- Dfive(i1,30);
- Cfive(i1,30);
- Bfour(i1,30);
- Afour(i1,30);
- Gfour(i1,30);
- Ffour(i1,30);
- Efour(i1,30);
- Dfour(i1,30);
- Cfour(i1,30);
- Bthree(i1,30);
- Athree(i1,30);
- Gthree(i1,30);
- Fthree(i1,30);
- Ethree(i1,30);
- Dthree(i1,30);
- Cthree(i1,30);
- Btwo(i1,30);
- Atwo(i1,30);
- Gtwo(i1,30);
- Ftwo(i1,30);
- Etwo(i1,30);
- Dtwo(i1,30);
- Ctwo(i1,30);
- Bone(i1,30);
- Aone(i1,30);
- Gone(i1,30);
- Fone(i1,30);
- Eone(i1,30);
- Done(i1,30);
- Cone(i1,30);
- noTone(i1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement