Skip to content

Yohannfra/esp32-wav-player-i2s

Repository files navigation

Wav i2s player

Requirements

  • ESP-ADF
  • ESP-IDF
  • An ESP32 audio board (I've only tested on LyraT-4.3)

Install

$ git clone --recursive https://github.com/Yohannfra/esp32-wav-player-i2s

Setup

  1. 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
  1. Move the file sample.wav to the root folder of your sdcard

Build

  1. You need to have $IDF_PATH and $ADF_PATH in you $PATH variable, then run (see more here)
$ get_idf
  1. build the project
$ make

Flash

$ make flash

License

This project is licensed under the terms of the MIT license.

About

Play wav file on sdcard with dr_wav library and i2s

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages