Hey, I have an ESP32 AudioKit 2.2 and I want to play a WAV file through this, unfortunately it doesn't quite work for me. I have written code that loads the file from the SD card and using https://github.com/earlephilhower/ESP8266Audio, I run it. In the logs, I've done a start and an end and it takes as long as the song has (27 seconds). Unfortunately I can't hear anything in the headphones on the output. Can anyone help/answer how to improve this?
I've also tried using https://github.com/schreibfaul1/ESP32-audioI2S, but in that case you can hear the buzz for about 27 seconds as well.
My current code.
AI: On which audio output are you trying to listen to audio (jack, speaker, other)? Have you tried connecting other headphones or speaker to rule out a hardware problem?
I have tried earphones output, lineout and rout/lout.
AI: What parameters does your WAV file have (sample rate, number of channels, bit resolution)? Have you perhaps tried with another WAV file with different parameters?
16-bit, mono, 44100 Hz
I've also tried using https://github.com/schreibfaul1/ESP32-audioI2S, but in that case you can hear the buzz for about 27 seconds as well.
My current code.
Code: C / C++
AI: On which audio output are you trying to listen to audio (jack, speaker, other)? Have you tried connecting other headphones or speaker to rule out a hardware problem?
I have tried earphones output, lineout and rout/lout.
AI: What parameters does your WAV file have (sample rate, number of channels, bit resolution)? Have you perhaps tried with another WAV file with different parameters?
16-bit, mono, 44100 Hz