I am building a sound project on an ESP 32 via I2S using an example from: https://github.com/nhatuan84/esp32-i2s-sdcard-wav-player
It works fine with the example wav file t.wav posted in the repository.
But when I try to use a custom wav which I exported from audacity it sounds distorted and/or too slow/fast (it sounds fine when I play it within audacity).
This is an example that is totaly distorted when playing from the esp with I2S: badly sounding wav While it sounds fine when playing from audacity.
I tried different settings in audacity exporting 16 bit, 32 bit. 44100 Hz, 11025.
Any hints or tips what I could try or am doing wrong?