Tmrpcm Library is not working

Hi everyone,

I tried to play a song with the tmrpcm library but I came to hear only "krr", "krr" sound.
I used an SD Card inserted in an SD Card slot connected to Arduino Mega 2560.
There was no problem in initializing the SD card.
Can anyone help me. Thanks in advance.

Have you got a capacitor between your digital output and your speaker / amplifier?

Maybe you're doing something wrong?

But how can anyone help you discover the problem when you do not show your code or a photo of how you connected the wires?