Skip to content
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

Audio Brpppppp #2

Closed
danbicks opened this issue Jan 28, 2019 · 3 comments
Closed

Audio Brpppppp #2

danbicks opened this issue Jan 28, 2019 · 3 comments

Comments

@danbicks
Copy link

Hi,

First of all awesome job with this library. I did have a bit of a pain installing it within Arduino IDE and had to create a separate folder with all the library files in for it to work.

Now works audio is really good, I am using a UD1344a DAC. When listening to a stream from time to time I get a brrrrrrrrrrr sound then audio resumes, seems possibly like a buffer issue. I have increased DMA-buffer from 64 to 128 and this has made no difference.

Any ideas on how this could be fixed, would make an awesome internet radio otherwise.

Big thanks

Dans

@schreibfaul1
Copy link
Owner

Since Espressif ESp32 Version V1.0.1. there is in structure i2s_config_t the new descriptor "tx_desc_auto_clear". If true it helps in avoiding noise in case of data unavailability. That can be in case of weak datastreams. So install V1.0.1-rc4 , third party index url https://dl.espressif.com/dl/package_esp32_dev_index.json and "set tx_desc_auto_clear" true (constructor in audio.cpp)
image

@amakukha
Copy link

amakukha commented May 26, 2019

In our case, this could be solved by increasing buffer size to 1024, while decreasing number of buffers to 4.

@schreibfaul1
Copy link
Owner

buffersize is now1024, buffercount is 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants