tierneytim / btAudio

Bluetooth Audio for Arduino
196 stars 29 forks source link

Playing Bluetooth Audio through the built in DAC of the ESP #30

Open MrTwisterFister69 opened 1 year ago

MrTwisterFister69 commented 1 year ago

Hey, First of great work! I was wondering how to output the Bluetooth audio instead of an I2S signal, as an analog audio signal by using the built in DAC of the ESP. I couldn´t find anything about it in your libary. I hope this is the right place to post my request, I am new to github.

Thanks in advance.

qwertychouskie commented 1 year ago

I'm sure it's possible (there are videos on YouTube showing using the internal DAC, just not with this library), but the audio quality from the 8-bit (a.k.a. 0-255) DAC is going to result in extremely poor sound. It is highly recommended to use an I2S DAC instead, as the audio will actually be of a usable quality.

daviti231 commented 3 months ago

is there any guidance to use internal dac in this library?

colonket commented 1 day ago

I am also interested in finding examples of this. Any links to videos or webpages that explain this are greatly appreciated.

So far I have found these projects that require an amplifier board to make the sound loud enough to hear:

but I have not been able to get them to work so far