mpflaga / Arduino_Library-vs1053_for_SdFat

Arduino device library interfacing vs1053 MP3 player chip to audio stream from an Sd Card.
https://mpflaga.github.io/Arduino_Library-vs1053_for_SdFat/
Other
38 stars 13 forks source link

New libary SDFAT #13

Open Atlan4 opened 2 years ago

Atlan4 commented 2 years ago

HI. please update code (fileplayer) for new libary (Bill Greiman) sdfat 2.1.2 thank you.

Atlan4 commented 2 years ago

You could do it, new SDfat 2.x.x supports special characters.

mpflaga commented 2 years ago

Thank you for your request.

To be honest this is an old project. It would take some time/effort to dust off all the boards. As to get the setup back up and running. Even a new IDE is a foot and with that comes a lot of hidden issues.

This may take some time to get to the top of my queue. I wonder if the Adafruit equivalent using the standard SD library supports your need for special characters.

Atlan4 commented 1 year ago

HI I try change to sdfat for 2.2.2 I tried to rewrite it, but it doesn't work correctly, can you look at it? I'll try to ask the author if he doesn't know where the problem is. Thak you mp3test.rar.zip

mpflaga commented 1 year ago

Just took a brief look. I see that SdFat v2.0.0 changed the SdFat.chdir() and openNext() methods, to start. Which in turn broke the fileplayer.ino demo. I can compile fileplayer.ino with SdFat v1.1.4 and it appears to work fine. This will take more work than I have availble to re-work. I recall there were issues with the OpenNext(). Something like these methods not being inherited up the Class's. So, I was calling them directly from the library.

I would add that chdir() and OpenNext() can be worked around. I was providing them as embellishment. I think the chdir() can be worked around. By changing the "sd.chdir("/",true)" to "sd.chdir()"

Atlan4 commented 1 year ago

So I'm 99.9% done, I just have to debug it. Mainly the program supports UTF8 (such as Czech and Slovak characters) utf8

Atlan4 commented 1 year ago

Good day. So can I post the changed player files? support sdfat 2.2.2 added reading IDtag v1. v2. v3. Added loading of files with diacritics. Use on ATmega2560 arduino. BETA verzia

https://github.com/Atlan4/SDcard-mp3-player-with-VS1053