Skip to content

myvobot/esp32_mp3_encoder

Repository files navigation

MP3 Encoder Example on ESP32

There is no native MP3 encoder in ESP-ADF. So we port the Shine encoder to ESP32. No optimization has been made yet.

The example starts a FreeRTOS task to convert in.wav to out.mp3.

Testing

The ESP32 is running at 240MHz. Use "-O3 -ffast-math" while compiling.

A simple benchmark shows:

  • Read WAV from SPIFFS, don't write to MP3, it takes 6s to convert a 10s mono WAV.
  • Read WAV from SPIFFS, and write to MP3, it takes 18s to convert a 10s mono WAV (and slower if run more than once).

No significant diffence if we turn on the PSRAM,TICK=1000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages