Noisy WAV player

I am making a WAV player but the there's a noise while playing the sample.

The sample is converted from mp3 to wav as 8-bit 16kHz, PCM unsigned 8-bit sample, then I've changed thr buffer size to 254 since I am using arduino Mega. I also tried using tmrpcm.quality(1).

My components:

Arduino Mega
SD Card Module
Headphone (iPhone)

If the problem is about the headphone. Should I put RC filter? Or just a resistor?

Playing the WAV on a PC / MAC sounds OK?

Can you post your schematics how the headphone is connected?

robtillaart:
Playing the WAV on a PC / MAC sounds OK?

Can you post your schematics how the headphone is connected?

The sound is okay but there's noise and click sounds.

I connected the common to ground and the other is on pin 46 of the Mega.

I have taken care of the click sound but there's still noise when playing.

robtillaart:
Playing the WAV on a PC / MAC sounds OK?

Yes, it sounds great. Maybe I need something to elimate noise like filter but I don't know how.