Audio Zero Library works alone, but completely breaks my script

So, I wrote a script for a CS GO case I built. Alone it works fine, not a problem. I also tested the case with the Audio Zero test Skript and that also works fine. I copy/pasted the relevant parts in to my script, but it permanently gives off a distorted sound and it prevented the script from running normally.

This is the Script btw(pasted parts from Audio Zero highlighted):

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include “DigitLedDisplay.h”
#include <Keypad.h>
#include <SD.h>
#include <SPI.h>
#include <AudioZero.h>

DigitLedDisplay ld = DigitLedDisplay(7, 6, 5);

LiquidCrystal_I2C lcd(0x27 ,2,1,0,4,5,6,7,3,POSITIVE);
const byte ROWS = 4; //four rows
const byte COLS = 3; //four columns
//define the cymbols on the buttons of the keypads
char hexaKeys[ROWS][COLS] = {
{‘1’,‘2’,‘3’},
{‘4’,‘5’,‘6’},
{‘7’,‘8’,‘9’},
{‘A’,‘0’,‘B’}
};
byte rowPins[ROWS] = {13, 10, 9, 8}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {3, 2, 1}; //connect to the column pinouts of the keypad

Keypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS);

void setup() {
int p;
int z;
int sz;
int t;
int code = 42069; //nice!
int codeset;
int r;

boolean contwright;

ld.setBright(13);
ld.setDigitLimit(8);
lcd.begin(16,2);
lcd.clear();

Serial.begin(9600);
Serial.print(“Initializing SD card…”);
** if (!SD.begin()) {**
** Serial.println(" failed!");**
** while(true);**
** }**
** Serial.println(" done.");**
** // 44100kHz stereo => 88200 sample rate**
** AudioZero.begin(44100);**

}

void loop() {

int p;
int z;
char sz;
int t;
int code = 42069;
int codeset;
boolean contwright;
boolean ct;
int m = 1;
int val = 0;
int r = 0;
int b=1000;
pinMode(0, OUTPUT);
digitalWrite(0, LOW);

lcd.setCursor(0,0);
lcd.print(“Timer Länge:”);
ld.printDigit(12345678);
p = 0;
sz = 0;
z = 0;
t=0;
contwright = false;
codeset = 0;
for (boolean tim = false; tim == false;){
sz = 0;
char sz = customKeypad.getKey();
switch (sz){
case ‘1’:
z = 1;
p++;
t = (t * 10) + 1;
contwright = true;
break;
case ‘2’:
z = 2;
p++;
t = (t * 10) + 2;
contwright = true;
break;
case ‘3’:
z = 3;
p++;
t = (t * 10) + 3;
contwright = true;
break;
case ‘4’:
z = 4;
p++;
t = (t * 10) + 4;
contwright = true;
break;
case ‘5’:
z = 5;
p++;
t = (t * 10) + 5;
contwright = true;
break;
case ‘6’:
z = 6;
p++;
t = (t * 10) + 6;
contwright = true;
break;
case ‘7’:
z = 7;
p++;
t = (t * 10) + 7;
contwright = true;
break;
case ‘8’:
z = 8;
p++;
t = (t * 10) + 8;
contwright = true;
break;
case ‘9’:
z = 9;
p++;
t = (t * 10) + 9;
contwright = true;
break;
case ‘0’:
z = 0;
p++;
t = t * 10;
contwright = true;
break;
case ‘A’:
tone(15, 1000, 20);
z = 0;
p = 0;
t = 0;
contwright = false;
lcd.clear();
lcd.setCursor(0,0);
lcd.print(“Timer Länge:”);
break;
case ‘B’:
tone(15, 1000, 20);
contwright = false;
codeset = 0;
t = t * 1000;
tim = true;

break;
default:
break;
}
lcd.setCursor((p-1),1);
if (contwright == true){
lcd.print(z);
tone(15, 1000, 20);
}
contwright = false;

delay(10);
}
File Plant = SD.open(“plant.wav”);
** AudioZero.play(Plant);**
p = 0;
z = 0;
lcd.clear();
lcd.setCursor(0,0);
lcd.print(“Passwort:”);
ld.clear();
ld.printDigit(t, 1);
for (boolean timtom = false; timtom == false;){
sz = 0;
char sz = customKeypad.getKey();
contwright = false;
val = t/20;
switch (sz){
case ‘1’:
z = 1;
p++;
codeset = (codeset * 10) + 1;
contwright = true;
break;
case ‘2’:
z = 2;
p++;
codeset = (codeset * 10) + 2;
contwright = true;
break;
case ‘3’:
z = 3;
p++;
codeset = (codeset * 10) + 3;
contwright = true;
break;
case ‘4’:
z = 4;
p++;
codeset = (codeset * 10) + 4;
contwright = true;
break;
case ‘5’:
z = 5;
p++;
codeset = (codeset * 10) + 5;
contwright = true;
break;
case ‘6’:
z = 6;
p++;
codeset = (codeset * 10) + 6;
contwright = true;
break;
case ‘7’:
z = 7;
p++;
codeset = (codeset * 10) + 7;
contwright = true;
break;
case ‘8’:
z = 8;
p++;
codeset = (codeset * 10) + 8;
contwright = true;
break;
case ‘9’:
z = 9;
p++;
codeset = (codeset * 10) + 9;
contwright = true;
break;
case ‘0’:
z = 0;
p++;
codeset = codeset * 10;
contwright = true;
break;
case ‘A’:
tone(15, 1000, 20);
z = 0;
p = 0;
codeset = 0;
contwright = false;
lcd.clear();
lcd.setCursor(0,0);
lcd.print(“Passwort:”);
break;
case ‘B’:
tone(15, 1000, 20);
contwright = false;
if (code == codeset){
timtom = true;
ct = true;
}
else if(code != codeset){
codeset = 0;
lcd.clear();
lcd.setCursor(0,0);
lcd.print(“Wrong Password!”);
m = m * 2;
delay(1000);
lcd.clear();
lcd.setCursor(0,0);
lcd.print(“Passwort:”);
p = 0;
}

break;
default:
break;
}
if(val>=500 && r==100){
r=0;
tone(15, 800, 35);
b=1000;
}
else if(r>=(b/10) && val<500){
r=0;
tone(15, 800, 35);
}

lcd.setCursor((p-1),1);

if (contwright == true){
tone(15, 1000, 20);
lcd.print(z);
}
contwright = false;
ld.clear();
ld.printDigit(t, 1);
t= t - (m10);
if (t <= 0){
ct = false;
timtom = true;
}
r++;
b= b-(m
0.5);
delay(9);
}

if(ct == true){
lcd.clear();
lcd.setCursor(0,0);
lcd.print(“CT WIN!”);
ld.printDigit(t, 1);
}
else if(ct == false){
lcd.clear();
lcd.setCursor(0,0);
lcd.print(“Terrorists Win!”);
ld.printDigit(88888888, 0);
}
for(boolean ende = false; ende == false;){
char sz = customKeypad.getKey();
switch (sz){
case ‘A’:
ende = true;
break;
case ‘B’:
ende = true;
break;
default:
break;
}
}

}

Thanks in advance