ESP32 Audio: I2S & Built-In DACs Explained

preview_player
Показать описание
We're back with another video on getting audio out of the ESP32. In this video, we'll be looking at using the built-in Digital to Analogue Converters to output audio directly.

Hope you find this video useful - and if you did please hit the subscribe button - there are more videos on the way!

GitHub links:
and

---

Рекомендации по теме
Комментарии
Автор

Thank you so much for this series! You cover so many things that I didn't know existed, or simply couldn't understand from other people's descriptions.
So yeah, thank you for going to the effort of making the videos, sharing the code, and being so concise, I really appreciate it.
Happy new year and stuff, too!

dirkderkdurk
Автор

Great video. You presented the details in an easy to understand way. Thanks you have save me hours of searching, trial and error.

jackdaniels
Автор

I really like and appreciate your tutorials on audio.

tahevol
Автор

Hello! this has helped me a LOT so far in understanding how Im gonna tackle on my project. I'm tryna build a music bot that can be controlled from a web server including playing the music from there too.

Is this sound quality the best I could get from the ESP32? Or is there a better board out there for it for could I change something to increase the quality. Thanks!

Mystical-TEDDY_
Автор

Thank you so much for sharing, really nice and helpful. If I may suggest a topic for future video, showing how to pipe the output sound from ESP32 using I2S mics to another ESP32 rather than a Node server. Basically tying the two projects you have presented separately together. Once again, great content explaining the different aspects of ESP32, thank you for your work.

hanywassef
Автор

Interesting. I think it should be possible to output 16 bit signals. You can use both D/A converters. By operating the least significant bit A/D converter output across a voltag divider and the most significant A/D converter directly. Then you can add both analog output signal together with an analog signal addition amplifier.

gkdresden
Автор

how can we use both internal DAC at same time in esp32. can we play two different music at same time on both different internal DAC. can u help me.

embeddedjunction
Автор

Really nice video! What would be the best amplifier break out board to connect to the 8 bit dac directly? I am making a game similar to Bop it with an ESP-32 and I want to deal with as fewer components as possible.

cheapnoiseinthehouse
Автор

Thank you for taking your time to make the explanation so clear! Curious if you have tried using the internal ADC to read audio signal with I2S, then stream to the internal DAC concurrently also via I2S?

tanvach
Автор

That direct voltage stepping method is done at predefined intervals or is that possible to specify somehow?

OMNI_INFINITY
Автор

How did you deal with the buffer only returning data on half of it’s size? The last half only return 0... so a buffer of 1024 only has data of 512 samples

TheElectronicEngineer
Автор

Say I wanted to bring in I2S data from a MEMS mic and pipe it directly out to an I2S DAC.
Can you read and write to the same buffer or will I need to make code to transfer from the "IN" buffer to the "OUT" buffer?

jackflash
Автор

very intersting. i am trying to implement mozart dicing game on esp32 (got it already running on raspberry) however, when i opened the links, i hoped for an arduino library, but infortunately it is not. is there a library available (preferably one who plays samples from an sd card ...without delay). Much to ask, perhaps, but your expert help would be very appreciated

DiAngeloTheSecond
Автор

Hi atomic. i m interested in this application of esp32 but I' ve had a problem about the noise speaker after finished the mp3. How can i get rid of that noise ? Thank you much

duyvo
Автор

Can you please tell how to control this board using Esphome ?

nehajain
Автор

Hi, just want to know how i make the sample just play once... incredible work!!!

wilianwagner
Автор

Is there any solution to increase resolution?

shivam_
Автор

Nice videos
I am looking for a solution for a guitar tuner with INMP441 and ESP32 based or on autocorrelation models or YIN. I tried with FFT but is very inaccurate. Any idea?

emabelloni
Автор

sir music from the file is played too fast leading to a complete different voice.How can i rectify this?

lalithkumar
Автор

Why is it called DMA if it's not direct memory access?

OMNI_INFINITY