Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

ESP32-audioI2S

> 编程语言
Open source

Play mp3 files from SD via I2S

1.7K stars0 likes0 views
WebsiteGitHub

About

Play mp3 files from SD via I2S

# ESP32-audioI2S :warning: **This library only works on multi-core chips like ESP32-S3, ESP32-S31 and ESP32-P4.
The ESP32 is suitable to a limited extent.
It does not work on the ESP32-S2, ESP32-C3 etc** :warning: Supported codecs: wav, mp3, aac, flac, opus, vorbis
Sampling rate: 16–48 kHz
Bits per sample: 8, 16, 24, 32
Container formats: ogg, mp4, m3u8
The output sample rate can be set to a fixed value of 44.1 or 48 kHz if required by the external I²S device Works with MAX98357A (3 Watt amplifier with DAC), connected three lines (DOUT, BLCK, LRC) to I2S. The I2S output frequency is always 48kHz, regardless of the input source, so Bluetooth devices can also be connected without any problems. For stereo are two MAX98357A necessary. AudioI2S works with UDA1334A (Adafruit I2S Stereo Decoder Breakout Board), PCM5102A and CS4344. Other HW may work but not tested. Plays also icy-streams, GoogleTTS and OpenAIspeech. Can be compiled with Arduino IDE. [WIKI](https://github.com/schreibfaul1/ESP32-audioI2S/wiki) ``` … ``` ` You can find more examples here: https://github.com/schreibfaul1/ESP32-audioI2S/tree/master/examples ``` … ``` `
*** Wiring *** Impulse diagram ***

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •C
  • •aac
  • •cs4344
  • •esp32
  • •flac

> Tags

Caaccs4344esp32flac

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言