Creating a UI for musical Tesla Coil

Hi! I am almost done with building my tesla coil, the only thing that is left is a UI, but while coding i ran into a problem. I can’t figure out how to identify songs and play them. I am using Arduino Mega 2560 with an LCD and an SD card module.

Main code:

int forward = 22;
int back = 23;
int Stop = 24;
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;

#include <LiquidCrystal.h>
#include “SD.h”
#define SD_ChipSelectPin 53
#include “TMRpcm.h”
#include “SPI.h”

// LCD RS pin to digital pin 12
// LCD Enable pin to digital pin 11
// LCD D4 pin to digital pin 5
// LCD D5 pin to digital pin 4
// LCD D6 pin to digital pin 3
// LCD D7 pin to digital pin 2
// LCD R/W pin to ground
// LCD VSS pin to ground
// LCD VCC pin to 5V
// 10K resistor:
// ends to +5V and ground
// wiper to LCD VO pin (pin 3)
//CS ---------------------->> 53
//SCK ---------------------->> 13
//MOSI -------------------->> 51
//MISO--------------------->> 50
//VCC --------------------->> +5v
//GND--------------------->> Arduino’s Ground

LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
TMRpcm tmrpcm;

void setup()
{

pinMode(forward, INPUT);
pinMode(back, INPUT);
pinMode(Stop, INPUT);

lcd.begin(16, 2);
tmrpcm.speakerPin=9;
Serial.begin(9600);
if(!SD.begin(SD_ChipSelectPin))
{
Serial.println(“SD fail”);
return;
}
tmrpcm.setVolume(6);

}

void loop() {
lcd.setCursor(0, 1);
lcd.print(“Now Playing:”);

}

Thank you for reading, I really appreciate it.

All very interesting, but what did you think this had to do with the website and forum?

Thread moved.

Please remember to use code tags when posting code.

I can't figure out how to identify songs and play them.

The TMRpcm library comes with examples. Have you bothered to look at them?