earlephilhower / ESP8266Audio

Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
GNU General Public License v3.0
2.02k stars 432 forks source link

AudioOutputI2S(0, 1) vs AudioOutputI2SNoDAC #647

Closed CobaltEcho closed 1 year ago

CobaltEcho commented 1 year ago

What's the difference between using: AudioOutputI2SNoDAC.h //Abuses the I2S interface to play music without a DAC vs out = new AudioOutputI2S(0, 1); // use the internal DAC channel 1 (pin25) on ESP32

I'm trying to play a WAV file from an SD Card Reader. I would like to get a line level output so I can connect it to a larger (TPA3118) amp.

positron96 commented 1 year ago

I'd say that you need a true DAC option (2nd). NoDAC is sort-of PWM, so an external amplifier might not like that.