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

Add (experimental) support for the ESP32-S3 #676

Open Hema2-official opened 6 months ago

Hema2-official commented 6 months ago

I created a new class called AudioOutputI2SNoDACS3, because it would've been way too messy to update the already existing AudioOutputI2SNoDAC class.

I know that it's not bug-free and requires further testing, and that its channel count (mono/stereo) handling is questionably undone, and that I need further help figuring out why the pitch is only right with the I2S sampling rate set to 30.0 kHz in the configuration (it's not related to memory nor the APLL, I've tested it), but it is a great starting point for ESP32-S3 support. And it just works, as of now.

As of example projects, I haven't made any yet.

I am open to all suggestions! :3

Thank you!

Note: I got inspiration from this video made by atomic14, and implemented the new class working on my team (CatSat)'s project for the CanSat Hungary 2024 competition.