earlephilhower/ESP8266Audio
Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, OGG/Opus, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32 and Pico observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 95
- Release rhythm 94
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 6
- age_days: 3308
- days_rel: 43
- days_push: 31
- n_releases_24m: 8
Adoption not part of the score
2392 stars · 471 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Arduino library for parsing and decoding audio formats including MOD, WAV, MP3, FLAC, MIDI, AAC, OGG/Opus, and RTTTL on ESP8266, ESP32, and Raspberry Pi Pico (RP2040/RP2350) microcontrollers. It plays audio through I2S DACs or a software-emulated delta-sigma DAC with dynamic 32x-128x oversampling.
Use cases
- play mp3 files on esp32 with i2s dac
- decode flac audio on esp8266 arduino
- play midi files with soundfont on microcontroller
- stream internet radio aac on esp32
- play wav sounds without external dac chip
- rtttl ringtone playback on arduino
- build an mp3 alarm clock with esp8266
When to choose
- you need to play multiple audio formats (MP3, FLAC, MIDI, WAV, AAC, Opus) on ESP8266, ESP32, or RP2040/RP2350
- you want audio output without a hardware DAC using the software delta-sigma DAC
- you are building Arduino-based projects like clocks, alarms, or sample players with sound
When to avoid
- you only target ESP32 or Pico and want a simpler, higher-performance playback model - consider BackgroundAudio instead
- you need AAC-SBR support on ESP8266, which lacks the required RAM
- you need a permissively licensed library - it is GPL-3.0 and AAC decoding carries additional licensing requirements for commercial use
Facets
library · maturity active
audio-processing speech-recognition parser embedded-systems hardware embedded iot cpp arduino esp8266 esp32 raspberry-pi-pico rp2040 rp2350 i2s dac mp3 flac midi wav aac opus soundfont2 delta-sigma-dac audio-decoding audio
1 source
- readme: https://github.com/earlephilhower/ESP8266Audio · fetched 2026-08-28 · 9e88c857754c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| earlephilhower/ESP8266Audio | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="earlephilhower/ESP8266Audio")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem