RepositoryC++NLHà Lan
CelliesProjects

CelliesProjects/ESP32_VS1053_Stream

An audio library for Arduino esp32 with a vs1053 mp3/aac/ogg/flac decoder. Plays http, https and chunked streams. Stream metadata is parsed. Also plays ogg, mp3, flac and m4a files from sdcard.

148sao
22fork
4issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: vs1053

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: webradio

#1 Repository của tuần

2
TINIX TRENDING·Chủ đề: ogg

#2 Repository của tuần

🎧 Biến ESP32 thành mediaplayer đa định dạng

ESP32 kết hợp VS1053 phát web radio và âm thanh cục bộ, kể cả dữ liệu stream chia chunk.

ESP32_VS1053_Stream là thư viện audio cho Arduino, hỗ trợ ESP32, ESP32-WROVER, ESP32-C3, ESP32-S2 và ESP32-S3. Thư viện giao tiếp với chip giải mã VS1053 qua ESP_VS1053_Library để phát stream hoặc tệp từ SD card và mọi hệ thống tệp đã được mount.

✨ Điểm nổi bật

  • Đa codec: Hỗ trợ MP3, OGG, AAC-ADTS, AAC-ADIF, AAC-M4A và FLAC 16-bit.
  • Stream linh hoạt: Phát nội dung qua HTTP và insecure HTTPS, gồm dữ liệu truyền theo chunk.
  • Tệp cục bộ: Đọc tệp MP3, OGG và FLAC từ SD card hoặc hệ thống tệp đã mount.
  • Metadata stream: Phân tích thông tin stream và cung cấp tên trạm qua các callback.
  • Theo dõi phát: Callback cho codec, bitrate, metadata, lỗi và kết thúc tệp.
  • Dung lượng nhỏ: Binary footprint dưới 7 kB, không tính PSRAM buffer.
  • Tương thích Arduino: Hỗ trợ Arduino ESP32 core mới nhất và PIOArduino trong PlatformIO.

💡 Vì sao đáng chú ý

Thư viện gom luồng phát web radio, tệp cục bộ và xử lý metadata vào một API gọn. Việc tách riêng callback cho codec, bitrate, tên trạm, lỗi và EOF giúp ứng dụng dễ cập nhật trạng thái hoặc hiển thị thông tin mà không phải chặn luồng phát.

Dung lượng nhỏ khiến phương án tách VS1053 khỏi vi điều khiển đáng cân nhắc cho dự án mediapayer, đài radio hoặc thiết bị phát âm thanh nhúng. Thư viện phù hợp khi cần hỗ trợ cả stream mạng lẫn tệp cục bộ mà không xây lại logic giải mã cho từng codec.


#ESP32 #VS1053 #Arduino #WebRadio #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC++
schreibfaul1/ESP32-audioI2S

Play mp3 files from SD via I2S

1.7k
Nov 29, 2026
RepositoryJavaScript
xiangyuecn/Recorder

html5 js 录音 mp3 wav ogg webm amr g711a g711u 格式,支持pc和Android、iOS部分Web浏览器、Hybrid App(提供Android iOS App源码)、微信,提供ASR语音识别转文字 H5版语音通话聊天示例 DTMF编码解码

5.6k
Jul 30, 2026
RepositoryRust
pdeljanov/Symphonia

Pure Rust multimedia format demuxing, tag reading, and audio decoding library

3.5k
Nov 25, 2026
RepositoryPython
tinytag/tinytag

Python library for reading audio file metadata

843
Nov 19, 2026
RepositoryPHP
wapmorgan/MediaFile

A unified reader of metadata from audio & video files.

157
Jan 17, 2023
RepositoryC++
bblanchon/ArduinoJson

📟 JSON library for Arduino and embedded C++. Simple and efficient.

7.3k
Nov 19, 2026
RepositoryC++
crankyoldgit/IRremoteESP8266

Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/

3.7k
Aug 23, 2026
RepositoryC++
T-vK/ESP32-BLE-Keyboard

Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)

3.2k
Aug 7, 2024
RepositoryC++
pschatzmann/ESP32-A2DP

A Simple ESP32 Bluetooth A2DP Library (to implement a Music Receiver or Sender) that supports Arduino, PlatformIO and Espressif IDF

2.8k
Nov 27, 2026