Play file by name Esp32 I2S

This page summarizes the projects mentioned and recommended in the original post on /r/esp32

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ESP32-audioI2S

    Play mp3 files from SD via I2S

  • I got it to play both MP3 and WAV files using ESP-audioI2S and arduino-audio-tools, though only single files. AAT uses player.copy() and the other uses audio.loop(), both can call files by name but only once, as far as I can tell.

  • arduino-audio-tools

    Arduino Audio Tools (a powerful Audio library not only for Arduino)

  • I got it to play both MP3 and WAV files using ESP-audioI2S and arduino-audio-tools, though only single files. AAT uses player.copy() and the other uses audio.loop(), both can call files by name but only once, as far as I can tell.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • AutoAnalogAudio

    Create a wide range of sampling and audio related applications with simple API for onboard DAC (or PWM), ADC, DMA & Timers on Arduino devices (AVR & SAM)

  • Boards like the Adafruit Audio FX Mini, DFPlayer Mini, JQ6500 etc. all have the ability to call files by name/number. The TMRh20 library uses something like tmrpcm.play((char*)"EST_FART.WAV"); but isn't compatible with the ESP32. There is, however, a spin-off version AutoAnalogAudio, based on the TMRh20 library for the ESP32, but as far as I can tell it is for DAC. It does, however, use playAudio("/SHEEK_RATTLER.wav"); to call a file by name using myWAV.h.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts