schreibfaul1 / ESP32-audioI2S

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

esp32 wroom play online mp3 no sounds. #871

Open splm opened 1 month ago

splm commented 1 month ago

Hello,everyone: I use ESP32 wroom32e to connect with the MAX98357, and have connected the speaker, but there has been no sound, it has been bothered for a long time, please what will be the reason, thank you.

The following figure is as follows, image image


define I2S_DOUT 25

define I2S_BCLK 27

define I2S_LRC 26

const char *url = "http://downsc.chinaz.net/Files/DownLoad/sound1/201906/11582.mp3"; void setup(){ play(); } void play(){ audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT); audio.setVolume(21); audio.connecttohost(url); } void loop(){ audio.loop(); }

vednildip commented 3 weeks ago

[README] ESP32-audioI2S ⚠️ This library only works on multi-core ESP32 chips like the ESP32-S3. It does not work on the ESP32-S2 or the ESP32-C3 ⚠️