Song Library project music not playing

I am working on an Arudino Uno. I got the receiver and remote to work. The LCD screen prints the "Choose song", but when I choose a song nothing plays. The LCD then prints "mi ###### ect.". The buzzer works fine when running a single tone.

#include <IRremote.h>

#include <LiquidCrystal.h>
#include <NewTone.h>
#include <avr/io.h>
#include <avr/wdt.h>

#define Reset_AVR() wdt_enable(WDTO_30MS); while(1) {} 


#define buzzer 6     

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

int result;
int RECV_PIN=7;

IRrecv irrecv(RECV_PIN);

decode_results results;
  
void setup() {   
  Serial.begin(9600);               
  lcd.begin(16,2);
  lcd.setCursor(0,0);
  lcd.print("-----Choose-----");
  lcd.setCursor(0,1);
  lcd.print("----A Song!!----");
  pinMode(buzzer, OUTPUT);
  irrecv.enableIRIn();
}  

void loop() {
  if (irrecv.decode(&results)) {
    result=results.value, HEX;
    Serial.println(result);
    if (result==12495) {
      ode();
    }
    else if (result==6375) {
      london();
    }
    else if (result==31365) {
      fur();
    }
    else if (result==4335) {
      pirate();
    }
    irrecv.resume();
  }
  delay(100);
} 

void fur() {
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("Fur Elise");
  delay(1000);
  lcd.clear();
  nota_mi(150,200);
  nota_rez(150,200);
  nota_mi(150,200);
  nota_rez(150,200);
  nota_mi(150,200);
  nota_si(150,200);
  nota_rez(150,200);
  nota_do(150,200);
  nota_la(450,300);
  nota_do(150,200);
  nota_mi(150,200);
  nota_la(150,200);
  nota_si(450,300);
  nota_mi(150,200);
  nota_solz(150,200);
  nota_si(150,200);
  nota_do(450,300);
  nota_mi(150,200);
  nota_mi(150,200);
  nota_rez(150,200);
  nota_mi(150,200);
  nota_rez(150,200);
  nota_mi(150,200);
  nota_si(150,200);
  nota_rez(150,200);
  nota_do(150,200);
  nota_la(450,300);
  nota_do(150,200);
  nota_mi(150,200);
  nota_la(150,200);
  nota_sol(450,300);
  nota_mi(150,200);
  nota_do(150,200);
  nota_si(150,200);
  nota_la(600,800);
  nota_mi(150,200);
  nota_rez(150,200);
  nota_mi(150,200);
  nota_rez(150,200);
  nota_mi(150,200);
  nota_si(150,200);
  nota_rez(150,200);
  nota_do(150,200);
  nota_la(450,300);
  nota_do(150,200);
  nota_mi(150,200);
  nota_la(150,200);
  nota_si(450,300);
  nota_mi(150,200);
  nota_solz(150,200);
  nota_si(150,200);
  nota_do(450,300);
  lcd.clear();
  delay(100);
  Reset_AVR();
}

void london() {
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("London Bridge");
  lcd.setCursor(0,1);
  lcd.print("Is falling down");
  delay(1000);
  lcd.clear();
  nota_sol(450,600);
  nota_la(150,200);
  nota_sol(300,400);
  nota_fa(300,400);
  nota_mi(300,400);
  nota_fa(300,400);
  nota_sol(600,800);
  nota_re(300,400);
  nota_mi(300,400);
  nota_fa(600,800);
  nota_mi(300,400);
  nota_fa(300,400);
  nota_sol(600,800);
  nota_sol(450,600);
  nota_la(150,200);
  nota_sol(300,400);
  nota_fa(300,400);
  nota_mi(300,400);
  nota_fa(300,400);
  nota_sol(600,800);
  nota_re(600,800);
  nota_sol(600,800);
  nota_mi(300,400);
  nota_do(450,600);
  lcd.clear();
  delay(100);
  Reset_AVR();
}

void ode() {
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("Ode to Joy");
  delay(1000);
  lcd.clear();
  nota_mi(300,400);
  nota_mi(300,400);
  nota_fa(300,400);
  nota_sol(300,400);
  nota_sol(300,400);
  nota_fa(300,400);
  nota_mi(300,400);
  nota_re(300,400);
  nota_do(300,400);
  nota_do(300,400);
  nota_re(300,400);
  nota_mi(300,400);
  nota_mi(450,600);
  nota_re(150,200);
  nota_re(600,800);
  nota_mi(300,400);
  nota_mi(300,400);
  nota_fa(300,400);
  nota_sol(300,400);
  nota_sol(300,400);
  nota_fa(300,400);
  nota_mi(300,400);
  nota_re(300,400);
  nota_do(300,400);
  nota_do(300,400);
  nota_re(300,400);
  nota_mi(300,400);
  nota_re(450,600);
  nota_do(150,200);
  nota_do(600,800);
  nota_re(300,400);
  nota_re(300,400);
  nota_mi(300,400);
  nota_do(300,400);
  nota_re(300,400);
  nota_mi(150,200);
  nota_fa(150,200);
  nota_mi(300,400);
  nota_do(300,400);
  nota_re(300,400);
  nota_mi(150,200);
  nota_fa(150,200);
  nota_mi(300,400);
  nota_re(300,400);
  nota_do(300,400);
  nota_re(300,400);
  nota_sol(600,800);
  nota_mi(300,400);
  nota_mi(300,400);
  nota_fa(300,400);
  nota_sol(300,400);
  nota_sol(300,400);
  nota_fa(300,400);
  nota_mi(300,400);
  nota_re(300,400);
  nota_do(300,400);
  nota_do(300,400);
  nota_re(300,400);
  nota_mi(300,400);
  nota_re(450,600);
  nota_do(150,200);
  nota_do(600,800);
  lcd.clear();
  delay(100);
  Reset_AVR();
}

void pirate() {
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("He's a Pirate");
  delay(1000);
  lcd.clear();
  nota_mi(150,200);
  nota_sol(150,200);
  nota_la(300,400);
  nota_la(300,400);
  nota_la(150,200);
  nota_si(150,200);
  nota_do(300,400);
  nota_do(300,400);
  nota_do(150,200);
  nota_re(150,200);
  nota_si(300,400);
  nota_si(300,400);
  nota_la(150,200);
  nota_sol(150,200);
  nota_sol(150,200);
  nota_la(450,600);
  nota_mi(150,200);
  nota_sol(150,200);
  nota_la(300,400);
  nota_la(300,400);
  nota_la(150,200);
  nota_si(150,200);
  nota_do(300,400);
  nota_do(300,400);
  nota_do(150,200);
  nota_re(150,200);
  nota_si(300,400);
  nota_si(300,400);
  nota_la(150,200);
  nota_sol(150,200);
  nota_la(300,400);
  delay(400);
  nota_mi(150,200);
  nota_sol(150,200);
  nota_la(300,400);
  nota_la(300,400);
  nota_la(150,200);
  nota_do(150,200);
  nota_re(300,400);
  nota_re(300,400);
  nota_re(150,200);
  nota_mi(150,200);
  nota_fa(300,400);
  nota_fa(300,400);
  nota_mi(150,200);
  nota_re(150,200);
  nota_mi(150,200);
  nota_la(450,600);
  nota_la(150,200);
  nota_si(150,200);
  nota_do(300,400);
  nota_do(300,400);
  nota_re(300,400);
  nota_mi(150,200);
  nota_la(450,600);
  nota_la(150,200);
  nota_do(150,200);  
  nota_si(300,400);
  nota_si(300,400);
  nota_do(150,200);
  nota_la(150,200);
  nota_si(900,1200);
  nota_si(300,400);
  nota_si(300,400);
  nota_do(150,200);
  nota_la(150,200);
  nota_si(900,1200);
  nota_si(300,400);
  nota_si(300,400);
  nota_la(150,200);
  nota_sol(150,200);
  nota_la(600,800);
  lcd.clear();
  delay(100);
  Reset_AVR();
}

void shut() {
  if (irrecv.decode(&results)) {
    result=results.value, HEX;
    Serial.println(result);
    if (result==-23971) {
      Reset_AVR();
    }
  }
  irrecv.resume();
}

void nota_do(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Do    ");
  NewTone(11,262,duration); //DO
  delay(pause);
  }

void nota_doz(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Do #  ");
  NewTone(11,277,duration); //DO
  delay(pause);
  }

void nota_re(int duration, int pause) {
  shut;
  lcd.setCursor(0, 0);
  lcd.print("Re    ");
  NewTone(11,294,duration); //RE
  delay(pause);
  }

void nota_rez(int duration, int pause) {
  shut;
  lcd.setCursor(0, 0);
  lcd.print("Re #  ");
  NewTone(11,311,duration); //RE
  delay(pause);
  }

void nota_mi(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Mi    ");
  NewTone(11,330,duration); //MI
  delay(pause);
  }

void nota_fa(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Fa    ");
  NewTone(11,349,duration); //FA
  delay(pause);
  }

void nota_faz(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Fa #  ");
  NewTone(11,370,duration); //FA
  delay(pause);
  }


void nota_sol(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Sol   ");
  NewTone(11,392,duration); //SOL
  delay(pause);
  }

void nota_solz(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Sol # ");
  NewTone(11,415,duration); //SOL
  delay(pause);
  }

void nota_la(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("La    ");
  NewTone(11,440,duration); //LA
  delay(pause);
  } 

void nota_laz(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("La #  ");
  NewTone(11,466,duration); //LA
  delay(pause);
  }

void nota_si(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Si    ");
  NewTone(11,494,duration); //SI
  delay(pause);
  }

This:

result=results.value, HEX;

is the same as this:
result=HEX; // not this, my mistake

result=results.value;

So you might want to think about what you really want there instead. Did you not see the serial output looking a bit odd?

I am pretty new at this, so I don't really know what HEX is. I've copied it from this project.
https://create.arduino.cc/projecthub/MoNsT3r/play-music-with-your-remote-76e7cc?f=1

Emmad24:
I am pretty new at this, so I don't really know what HEX is. I've copied it from this project.
Arduino Project Hub

Ok, it is wrong on the site you copied from too. Unlucky for you.

Replace both instances of that line with:

result=results.value;

And then see what happens.

Nothing really changed. The numbers stayed the same on the serial monitor.

Emmad24:
Nothing really changed. The numbers stayed the same on the serial monitor.

That surprises me. You did re-compile and re-upload to your device?
Post your updated loop() function and the serial output.

With the HEX the serial monitor would just print 12495 (being the #1 button) twice instead of the symbol and 6j.

void shut() {
  if (irrecv.decode(&results)) {
    result=results.value;
    Serial.println(result);
    if (result==-23971) {
      Reset_AVR();
    }
  }
  irrecv.resume();
}

Serial

12495
ʢ
6j
6375
-23971

Delta_G:
Except that I mentioned it to you on your other thread and you chose to ignore me.

Because it wasn't the main problem at the time. The code was irrelevant to that problem(which was a wiring problem) which is now fixed.

That's not your loop() function which I asked for.

Sorry when I see the word loop I think of for loops.
As to Delta, I appreciate your help, but the advice you gave me at that time was not what I was looking for nor would it have changed the error that the code was giving me because it was a software issue and not a coding issue.

void loop() {
  if (irrecv.decode(&results)) {
    result=results.value;
    Serial.println(result);
    if (result==12495) {
      ode();
    }
    else if (result==6375) {
      london();
    }
    else if (result==31365) {
      fur();
    }
    else if (result==4335) {
      pirate();
    }
    irrecv.resume();
  }
  delay(100);
}

Sorry that I chose not to pay attention to HEX until I figured out my other problems. I still don't see what HEX even does or how it ruins my code as it does the same with or without it and still hasn't fixed the main issue of this thread. The code in my other thread where you mentioned the HEX worked perfectly without changing anything so I thought nothing of it.

Ok, to correct my previous statement, after having completely ignored operator precedence (oops), the HEX will be ignored as originally written. Therefore the output should be the same irrespective. I will have to self flagellate.
Delta_G seems to have fallen into the same trap...

Can't explain your strange output as yet.

Delta_G:
So you're just screaming 16! into an empty room?

Pretty much. The comma operator has the lowest precedence, so the assignment is done first, then the HEX dummy expression follows.

Not exactly. I just wanted to know why HEX was a bug. You were saying result =16 but it didnt. Thank you arduan for explaining what HEX does when putting it in the code.

Learn something every day! I had the same misunderstanding about the comma operator. What a useless and confusing language element, in the following sense:

int func() {
  return (-11);
}
void setup() {
  int x = 0;
  Serial.begin(9600);
  x = func(), 16;
  Serial.println(x);  //prints -11
  x = 5, 16;
  Serial.println(x);  //prints 5
  x = (5, 16);
  Serial.println(x);  //prints 16
}

void loop() {}

Try this and see if the behaviour changes:

#include <IRremote.h>

#include <LiquidCrystal.h>
#include <NewTone.h>
#include <avr/io.h>
#include <avr/wdt.h>

#define Reset_AVR() wdt_enable(WDTO_30MS); while(1) {}

#define BUZZER_PIN 6
#define RECV_PIN 7

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

int result;
IRrecv irrecv(RECV_PIN);
decode_results results;

void setup() {
  Serial.begin(9600);
  lcd.begin(16, 2);
  lcd.setCursor(0, 0);
  lcd.print("-----Choose-----");
  lcd.setCursor(0, 1);
  lcd.print("----A Song!!----");
  pinMode(BUZZER_PIN, OUTPUT);
  irrecv.enableIRIn();
}

void loop() {
  if (irrecv.decode(&results)) {
    result = results.value;
    Serial.println(result);
    if (result == 12495) {
      ode();
    }
    else if (result == 6375) {
      london();
    }
    else if (result == 31365) {
      fur();
    }
    else if (result == 4335) {
      pirate();
    }
    irrecv.resume();
  }
  delay(100);
}

void fur() {
  lcd.clear();
  lcd.setCursor(0, 0);
  lcd.print("Fur Elise");
  delay(1000);
  lcd.clear();
  nota_mi(150, 200);
  nota_rez(150, 200);
  nota_mi(150, 200);
  nota_rez(150, 200);
  nota_mi(150, 200);
  nota_si(150, 200);
  nota_rez(150, 200);
  nota_do(150, 200);
  nota_la(450, 300);
  nota_do(150, 200);
  nota_mi(150, 200);
  nota_la(150, 200);
  nota_si(450, 300);
  nota_mi(150, 200);
  nota_solz(150, 200);
  nota_si(150, 200);
  nota_do(450, 300);
  nota_mi(150, 200);
  nota_mi(150, 200);
  nota_rez(150, 200);
  nota_mi(150, 200);
  nota_rez(150, 200);
  nota_mi(150, 200);
  nota_si(150, 200);
  nota_rez(150, 200);
  nota_do(150, 200);
  nota_la(450, 300);
  nota_do(150, 200);
  nota_mi(150, 200);
  nota_la(150, 200);
  nota_sol(450, 300);
  nota_mi(150, 200);
  nota_do(150, 200);
  nota_si(150, 200);
  nota_la(600, 800);
  nota_mi(150, 200);
  nota_rez(150, 200);
  nota_mi(150, 200);
  nota_rez(150, 200);
  nota_mi(150, 200);
  nota_si(150, 200);
  nota_rez(150, 200);
  nota_do(150, 200);
  nota_la(450, 300);
  nota_do(150, 200);
  nota_mi(150, 200);
  nota_la(150, 200);
  nota_si(450, 300);
  nota_mi(150, 200);
  nota_solz(150, 200);
  nota_si(150, 200);
  nota_do(450, 300);
  lcd.clear();
  delay(100);
  Reset_AVR();
}

void london() {
  lcd.clear();
  lcd.setCursor(0, 0);
  lcd.print("London Bridge");
  lcd.setCursor(0, 1);
  lcd.print("Is falling down");
  delay(1000);
  lcd.clear();
  nota_sol(450, 600);
  nota_la(150, 200);
  nota_sol(300, 400);
  nota_fa(300, 400);
  nota_mi(300, 400);
  nota_fa(300, 400);
  nota_sol(600, 800);
  nota_re(300, 400);
  nota_mi(300, 400);
  nota_fa(600, 800);
  nota_mi(300, 400);
  nota_fa(300, 400);
  nota_sol(600, 800);
  nota_sol(450, 600);
  nota_la(150, 200);
  nota_sol(300, 400);
  nota_fa(300, 400);
  nota_mi(300, 400);
  nota_fa(300, 400);
  nota_sol(600, 800);
  nota_re(600, 800);
  nota_sol(600, 800);
  nota_mi(300, 400);
  nota_do(450, 600);
  lcd.clear();
  delay(100);
  Reset_AVR();
}

void ode() {
  lcd.clear();
  lcd.setCursor(0, 0);
  lcd.print("Ode to Joy");
  delay(1000);
  lcd.clear();
  nota_mi(300, 400);
  nota_mi(300, 400);
  nota_fa(300, 400);
  nota_sol(300, 400);
  nota_sol(300, 400);
  nota_fa(300, 400);
  nota_mi(300, 400);
  nota_re(300, 400);
  nota_do(300, 400);
  nota_do(300, 400);
  nota_re(300, 400);
  nota_mi(300, 400);
  nota_mi(450, 600);
  nota_re(150, 200);
  nota_re(600, 800);
  nota_mi(300, 400);
  nota_mi(300, 400);
  nota_fa(300, 400);
  nota_sol(300, 400);
  nota_sol(300, 400);
  nota_fa(300, 400);
  nota_mi(300, 400);
  nota_re(300, 400);
  nota_do(300, 400);
  nota_do(300, 400);
  nota_re(300, 400);
  nota_mi(300, 400);
  nota_re(450, 600);
  nota_do(150, 200);
  nota_do(600, 800);
  nota_re(300, 400);
  nota_re(300, 400);
  nota_mi(300, 400);
  nota_do(300, 400);
  nota_re(300, 400);
  nota_mi(150, 200);
  nota_fa(150, 200);
  nota_mi(300, 400);
  nota_do(300, 400);
  nota_re(300, 400);
  nota_mi(150, 200);
  nota_fa(150, 200);
  nota_mi(300, 400);
  nota_re(300, 400);
  nota_do(300, 400);
  nota_re(300, 400);
  nota_sol(600, 800);
  nota_mi(300, 400);
  nota_mi(300, 400);
  nota_fa(300, 400);
  nota_sol(300, 400);
  nota_sol(300, 400);
  nota_fa(300, 400);
  nota_mi(300, 400);
  nota_re(300, 400);
  nota_do(300, 400);
  nota_do(300, 400);
  nota_re(300, 400);
  nota_mi(300, 400);
  nota_re(450, 600);
  nota_do(150, 200);
  nota_do(600, 800);
  lcd.clear();
  delay(100);
  Reset_AVR();
}

void pirate() {
  lcd.clear();
  lcd.setCursor(0, 0);
  lcd.print("He's a Pirate");
  delay(1000);
  lcd.clear();
  nota_mi(150, 200);
  nota_sol(150, 200);
  nota_la(300, 400);
  nota_la(300, 400);
  nota_la(150, 200);
  nota_si(150, 200);
  nota_do(300, 400);
  nota_do(300, 400);
  nota_do(150, 200);
  nota_re(150, 200);
  nota_si(300, 400);
  nota_si(300, 400);
  nota_la(150, 200);
  nota_sol(150, 200);
  nota_sol(150, 200);
  nota_la(450, 600);
  nota_mi(150, 200);
  nota_sol(150, 200);
  nota_la(300, 400);
  nota_la(300, 400);
  nota_la(150, 200);
  nota_si(150, 200);
  nota_do(300, 400);
  nota_do(300, 400);
  nota_do(150, 200);
  nota_re(150, 200);
  nota_si(300, 400);
  nota_si(300, 400);
  nota_la(150, 200);
  nota_sol(150, 200);
  nota_la(300, 400);
  delay(400);
  nota_mi(150, 200);
  nota_sol(150, 200);
  nota_la(300, 400);
  nota_la(300, 400);
  nota_la(150, 200);
  nota_do(150, 200);
  nota_re(300, 400);
  nota_re(300, 400);
  nota_re(150, 200);
  nota_mi(150, 200);
  nota_fa(300, 400);
  nota_fa(300, 400);
  nota_mi(150, 200);
  nota_re(150, 200);
  nota_mi(150, 200);
  nota_la(450, 600);
  nota_la(150, 200);
  nota_si(150, 200);
  nota_do(300, 400);
  nota_do(300, 400);
  nota_re(300, 400);
  nota_mi(150, 200);
  nota_la(450, 600);
  nota_la(150, 200);
  nota_do(150, 200);
  nota_si(300, 400);
  nota_si(300, 400);
  nota_do(150, 200);
  nota_la(150, 200);
  nota_si(900, 1200);
  nota_si(300, 400);
  nota_si(300, 400);
  nota_do(150, 200);
  nota_la(150, 200);
  nota_si(900, 1200);
  nota_si(300, 400);
  nota_si(300, 400);
  nota_la(150, 200);
  nota_sol(150, 200);
  nota_la(600, 800);
  lcd.clear();
  delay(100);
  Reset_AVR();
}

void shut() {
  if (irrecv.decode(&results)) {
    result = results.value;
    Serial.println(result);
    if (result == -23971) {
      Reset_AVR();
    }
  }
  irrecv.resume();
}

void nota_do(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Do    ");
  NewTone(BUZZER_PIN, 262, duration); //DO
  delay(pause);
}

void nota_doz(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Do #  ");
  NewTone(BUZZER_PIN, 277, duration); //DO
  delay(pause);
}

void nota_re(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Re    ");
  NewTone(BUZZER_PIN, 294, duration); //RE
  delay(pause);
}

void nota_rez(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Re #  ");
  NewTone(BUZZER_PIN, 311, duration); //RE
  delay(pause);
}

void nota_mi(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Mi    ");
  NewTone(BUZZER_PIN, 330, duration); //MI
  delay(pause);
}

void nota_fa(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Fa    ");
  NewTone(BUZZER_PIN, 349, duration); //FA
  delay(pause);
}

void nota_faz(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Fa #  ");
  NewTone(BUZZER_PIN, 370, duration); //FA
  delay(pause);
}


void nota_sol(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Sol   ");
  NewTone(BUZZER_PIN, 392, duration); //SOL
  delay(pause);
}

void nota_solz(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Sol # ");
  NewTone(BUZZER_PIN, 415, duration); //SOL
  delay(pause);
}

void nota_la(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("La    ");
  NewTone(BUZZER_PIN, 440, duration); //LA
  delay(pause);
}

void nota_laz(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("La #  ");
  NewTone(BUZZER_PIN, 466, duration); //LA
  delay(pause);
}

void nota_si(int duration, int pause) {
  shut();
  lcd.setCursor(0, 0);
  lcd.print("Si    ");
  NewTone(BUZZER_PIN, 494, duration); //SI
  delay(pause);
}

Thank you so much! It works now!

No problem. As for an explanation:

You didn't do the project directly as written, instead you changed the wiring; that's OK; and you even remembered to update the pin numbers in the sketch.

However, as already mentioned, that sketch is not of the highest quality and although it defined a constant for a pin number at the beginning, it didn't actually use the pin number constant where it counted:

NewTone(11,294,duration); //RE

Spot the hard coded 11, so no sound output.
You used pin number 11 as a pin for the LCD, so the LCD broke too.