peterhinch / micropython-vs1053

Synchronous and asynchronous drivers for VS1053b MP3/FLAC player
MIT License
25 stars 7 forks source link

Glitchy sound #8

Open microplasticos opened 1 month ago

microplasticos commented 1 month ago

I managed to run the sync and async modes on the rpico with the vs1053 breakout, but it sounds glitchy, at 128. Which parameter should I check to control this issue? On Arduino I can play MP3 files smoothly, but one way or another I want to achieve the same with a Raspberry Pi Pico.

Thank you very much.

https://github.com/peterhinch/micropython-vs1053/assets/166957596/db0c36bb-3843-4330-89aa-8a814f8f0056

peterhinch commented 1 month ago

It's hard to be sure. As stated in the docs, the driver has been tested with a Pico at much higher data rates, up to and including FLAC at 700Kbps, so MP3 at 128Kbps should work fine. The most likely cause is lack of bandwidth in accessing the music files. Testing was done with a good quality SD card as the source.