esphome/esp-audio-libs

3.0.0

Latest
uploaded 3 days ago
Audio resampling library for ESP32 devices

readme

# esp-audio-libs

Audio resampling library for ESP32 devices, with optimized assembly implementations of the underlying dot product on Xtensa cores. Based on the following:
- [ART-resampler](https://github.com/dbry/audio-resampler) for resampling audio, optimized with assembly dot product functions.
    - Author: David Bryant
    - License: BSD-3-Clause
- [esp-dsp](https://github.com/espressif/esp-dsp) assembly functions for the floating point dot product used internally by the resampler.
    - Author: Espressif
    - License: Apache v2.0

## Migrating from earlier versions

The FLAC, MP3, and WAV decoders, as well as the public DSP functions, were removed in version 3.0.0. Replacements:
- FLAC decoding: [esphome-libs/micro-flac](https://github.com/esphome-libs/micro-flac)
- MP3 decoding: [esphome-libs/micro-mp3](https://github.com/esphome-libs/micro-mp3)
- WAV header parsing: [esphome-libs/micro-wav](https://github.com/esphome-libs/micro-wav)
- DSP functions (esp-dsp's `dsps_biquad_f32`, `dsps_dotprod_f32`, `dsps_add_s16`, `dsps_mulc_s16`): use [esp-dsp](https://github.com/espressif/esp-dsp) directly.

The replacements are not drop-in API-compatible.

Links

Supports all targets

License: Custom

To add this component to your project, run:

idf.py add-dependency "esphome/esp-audio-libs^3.0.0"

download archive

Stats

  • Archive size
    Archive size ~ 35.64 KB
  • Downloaded in total
    Downloaded in total 111.6k times
  • Weekly Downloads Weekly Downloads (All Versions)
  • Downloaded this version
    This version: 401 times

Badge

esphome/esp-audio-libs version: 3.0.0
|