-
Notifications
You must be signed in to change notification settings - Fork 704
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
ESP32 Lyra T mini 1.2 ES8311 and Es7243 I2C address and Raw Audio Data (AUD-5636) #1255
Comments
I want to transmit/recieve data on UDP socket, but I am not familiar with esp32 and i2s. I did audio board init > i2s0 & i2s1 config > i2s1 channel read > i2s0 channel write It's similar like echo idf example but it's not working. |
You can try |
hi hbler99, Thanks. is it possible to run this audio_element.c on ESP32 Lyra T 1.2? Do I need to initialize audio board before? Please help me with more detail w.r.t Lyra T 1.2, I am confused with the ES7243 and ES8311 codec chip connected to mic and speaker respectively on Mini 1.2. Thanks again |
The audio board should be initialized at the beginning. Hope the following steps serve as a helpful reference:
|
Hi @hbler99 Thanks for help I code as above and received data but its like noise or distortion only, I am not sure about it.
I did same with pipline and working with it, I can hear echo sound on speaker but I need raw data to transmit it on UDP and vise versa, it will be very helpful if you guide. for more information here is Log Data from terminal i recorder.
thanks |
I hope the following code will help you.
Specially, |
Thanks for help brother, its working good. there is some sound distorted and noisy that need to fix, will check it through "Pipeline" method to get encoded data or resampling. In code create_i2s_stream function must be initialize separately for both read and write method like below.
I achieved my task with I2S > TCP and TCP > I2S using pipeline code and now will do same with new code. Thanks again for help and support |
Hi, according to schematic ES7243 0x20,
but I installed ESP-ADF and successfully tested SD card record audio example lyra T 1.1, in that example I found es7243 i2c address 0x26.
How to read raw data from ES7243(Mic Connected) and How to Play Audio from (ES8311 Speaker Connected)?
why mini 1.2 has 2 ADC-DAC IC?
Thanks
The text was updated successfully, but these errors were encountered: