schreibfaul1 / ESP32-audioI2S

Play mp3 files from SD via I2S
GNU General Public License v3.0
1.09k stars 284 forks source link

Compatibility with Arduino Core 3.0.1 #767

Closed kungfupizza closed 2 weeks ago

kungfupizza commented 3 months ago

ESP32 Arduino Core 3.0.1 has recently come up. Is this library compatible with the same?

tueddy commented 3 months ago

I successfully compiled the library in PlatformIO with Arduino 3.0.1. Sound also came out of the speaker, so the answer is yes. @kungfupizza So there is no reason not to try it yourself..

kungfupizza commented 3 months ago

Thank you for confirmation. I did try and I could play audio from SD card but not from HOST. Has that worked for you ? @tueddy

cziter15 commented 3 months ago

In my project, when using TTS it plays at 2x speed (high pitch etc).

However I have some power-saving measurements, like jumping from 80MHz to 240MHz when playing audio. Anyway, streaming audio to the device (from my PC) works properly...

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.

jonnybergdahl commented 2 months ago

Compiling the internalDAC.ino file with ESP32 Arduino Core 3.0.4 gives the following compile error.

Compilation error: 'I2S_DAC_CHANNEL_BOTH_EN' was not declared in this scope
cziter15 commented 2 months ago

Compiling the internalDAC.ino file with ESP32 Arduino Core 3.0.4 gives the following compile error.

Compilation error: 'I2S_DAC_CHANNEL_BOTH_EN' was not declared in this scope

This flag does not exist on 3.x

The constructor definition is: Audio(bool internalDAC = false, uint8_t channelEnabled = 3, uint8_t i2sPort = I2S_NUM_0);

schreibfaul1 commented 2 months ago

In Arduino V3, IDF V5.1 runs in the background. Unfortunately this version does not recognize an internal DAC regarding I2S. The latest version that supports the internal DAC is Arduino 2.0.17

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been inactive for 14 days since being marked as stale.