Replies: 4 comments 10 replies
-
Hello kdm1978, good video! In many cases the 8-bit resolution of the internal DAC may be sufficient. Internally, the decoders work with a 16-bit resolution. The sound quality can be improved with an external DAC (for example PCM5102). |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying to use this lib with the internal DAC of an M5Stack Grey. At least for me, the changes in My understanding of ESP32, C and bit-pushing is a bit rusty, so sorry for not providing a clearer fix directly. |
Beta Was this translation helpful? Give feedback.
-
Add #define INTDAC in audio. Cpp
Dnia 01 lutego 2021 22:02 mettyw napisał(a):
Hi,
I am trying to use this lib with the internal DAC of an M5Stack Grey. At least for me, the changes in m_i2s_config aren't sufficient, I hear sound but it is extremely distorted. I could fix it by altering the function Audio::Gain() as well and add something like
v[LEFTCHANNEL] = v[LEFTCHANNEL] + 0x8000;
v[RIGHTCHANNEL] = v[RIGHTCHANNEL] + 0x8000;
similar to what has been done here: github.com github.com do you think it is possible to extend your code accordingly?
My understanding of C and bit-pushing is a bit rusty, so sorry for not providing a clearer fix directly.
— You are receiving this because you authored the thread. Reply to this email directly, github.com view it on GitHub , or github.com unsubscribe .
|
Beta Was this translation helpful? Give feedback.
-
See at 2261 line in my audio.cpp
Dnia 01 lutego 2021 22:02 mettyw napisał(a):
Hi,
I am trying to use this lib with the internal DAC of an M5Stack Grey. At least for me, the changes in m_i2s_config aren't sufficient, I hear sound but it is extremely distorted. I could fix it by altering the function Audio::Gain() as well and add something like
v[LEFTCHANNEL] = v[LEFTCHANNEL] + 0x8000;
v[RIGHTCHANNEL] = v[RIGHTCHANNEL] + 0x8000;
similar to what has been done here: github.com github.com do you think it is possible to extend your code accordingly?
My understanding of C and bit-pushing is a bit rusty, so sorry for not providing a clearer fix directly.
— You are receiving this because you authored the thread. Reply to this email directly, github.com view it on GitHub , or github.com unsubscribe .
|
Beta Was this translation helpful? Give feedback.
-
Hello.
I fork your's ESP32-audioI2S
I added internal DAC support
It works very well :)
https://www.youtube.com/watch?v=RMBcPz6vkwY
Beta Was this translation helpful? Give feedback.
All reactions