-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glitchy sound #8
Comments
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. |
Hello, I try to use your driver with https://fr.aliexpress.com/item/32966454016.html?spm=a2g0o.order_list.order_list_main.5.26f75e5bDahLw8&gatewayAdapt=glo2fra and I'have the same glitch as @microplasticos. Do you think the problem can comes from the value of _INITIAL_BAUDRATE and _DATA_BAUDRATE in vs1053_sync.py? Any advice is welcome Thank you Regards |
As per my previous post
Where are your files stored? If you're using an SD card with the official driver you may want to try a higher baudrate. Although from the sound of your post you're using a socket on a WiFi connection. If so, you're doing something which is outside of my experience - my work with sockets has been low bandwidth applications. I would consider asking a question in discussions on how best to achieve a high bandwidth on a socket connection. Also ask what bandwidth can reasonably be expected. A circular buffer can help with temporary drops in bandwidth, but it can't rescue you from a mean bandwidth which is too low. |
Hi, Thank you for your answer. regards. |
There is now a built-in circular buffer which you may find useful - as part of the firmware it's written in C so will be fast. This is an interesting application - if you get something working please let me know. |
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.
WhatsApp.Video.2024-05-30.at.00.16.29.mp4
The text was updated successfully, but these errors were encountered: