ESP32 DAC quality

t_bostanjyan
Posts: 7
Joined: Thu Jan 05, 2017 9:36 am

ESP32 DAC quality

Postby t_bostanjyan » Thu Mar 02, 2017 8:28 am

How good is ESP32 DAC quality for audio applications?
I want to connect DAC output to the audio amplifier and pass to the speaker. But I'm not sure about DAC quality for audio.
Of course I don't expect very high quality sounds. But I expect at least understandable speech.
Any suggestions?

ESP_Sprite
Posts: 9724
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 DAC quality

Postby ESP_Sprite » Thu Mar 02, 2017 8:40 am

It's an eight-bit DAC; quality is going to be meh for that reason alone. You're probably better off using an external I2S codec, or if you really don't want to have an external chip you can try I2S and PDM (although we don't have a driver for that yet) followed by a lowpass filter. For an eight bit dac, the linearity is okay, I have no doubt you will able to recognize speech you send out of it.

ESP_Sprite
Posts: 9724
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 DAC quality

Postby ESP_Sprite » Sat Mar 11, 2017 5:47 am

Ah, you're right, didn't see that was in before. Feel free to try it, I'm not sure to what extent it has been tested, however.

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 DAC quality

Postby BuddyCasino » Tue Mar 14, 2017 8:09 am

The PDM configuration types are only referenced in "i2s.h" and "i2s.rst", and not anywhere else. The driver is probably work in progress, but I'd sure like to try it out, since the I2S DAC still doesn't work properly.

Who is online

Users browsing this forum: No registered users and 179 guests