audio mp3 player

i want to play the .wav file of 441000 hz stereo quality audio through arduino using sd module and sd card
i searched for code on the arduio home at this link

but rhe code is showing error ar the line

Audio.write(buffer, S);

pls help to solve the error

thanks

Hi there!

Are you using an Arduino Due? I think the Audio Library works only for the Arduino Due, though I might be wrong. The chip select function works for any SD module so I can't imagine you really need a shield and I imagine it has to do with the board you're using and how it might not be compatible with the library.

You haven't said specifically what setup you have which is why I'm having to ask. If you want a good answer, ensure to give all the details of your setup before you describe what the problem is.

If you are using an Arduino Due then I can't help you and I'm sorry if I may have wasted your time. :stuck_out_tongue: