- ESP-ADF
- ESP-IDF
- An ESP32 audio board (I've only tested on LyraT-4.3)
$ git clone --recursive https://github.com/Yohannfra/esp32-wav-player-i2s
- There is a small fix to make to dr_wav.h to be able to compile it, apply the patch dr_wav_patch_esp32.patch to do it.
$ cd main/lib/dr_libs
$ git apply ../../../dr_wav_patch_esp32.patch
- Move the file sample.wav to the root folder of your sdcard
- You need to have $IDF_PATH and $ADF_PATH in you $PATH variable, then run (see more here)
$ get_idf
- build the project
$ make
$ make flash
This project is licensed under the terms of the MIT license.