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

White noise #953

Open
FatherMarco1971 opened this issue Jan 16, 2025 · 2 comments
Open

White noise #953

FatherMarco1971 opened this issue Jan 16, 2025 · 2 comments

Comments

@FatherMarco1971
Copy link
Contributor

FatherMarco1971 commented Jan 16, 2025

Using release 3.1.0 there is a strong white noise that start as soon Audio.setPinout is called.
Everithing work fine using 3.0.12 so ithink is a sort of bug introduced after 3.012 release.

Anybody with similar problem?

@FatherMarco1971
Copy link
Contributor Author

FatherMarco1971 commented Jan 16, 2025

Found the cause.
The problem is due to the line:

m_i2s_std_cfg.clk_cfg.mclk_multiple = I2S_MCLK_MULTIPLE_128;

That was modified in:

m_i2s_std_cfg.clk_cfg.mclk_multiple = I2S_MCLK_MULTIPLE_512;

I'm using a ESP32-Audio-kit by ai-thinker swith ES3288.

Have you any idea why this cause the issue and how to solve without branch the library?

schreibfaul1 added a commit that referenced this issue Jan 16, 2025
@schreibfaul1
Copy link
Owner

Hello FatherMarco,
I can't say anything about the ES3288, I assume that it has an MCLK pin. Most DACs get the clock from BCLK and it doesn't matter what value i2s_std_cfg.clk_cfg.mclk_multiple has. I think the value has been 512 for a long time, now it is I2S_MCLK_MULTIPLE_128

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

2 participants