I2S Webserver 2 channels 44.1KHz, possible? #1445
-
I've been experimenting with the I2S webserver_wav at 44.1KHz stereo with an ESP32 WROOM. The sound quality is poor and inconsistent (some static and stream starts and stops). I'm experimented some with buffer sizes after reading the wiki on Performance but didn't get much improvement. Am I exceeding the abilities of the ESP32 in this case? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
https://github.com/pschatzmann/arduino-audio-tools/wiki/It's-not-working I guess you just forgot to set the log level to warning. I was just running the test sketch with a sine generator at 44100 stereo and I can not reproduce your issues. Even 48000 works just fine... |
Beta Was this translation helpful? Give feedback.
-
I didn't forget to set the log level to warning; I've tried both warning and error...no change. I've tried modifying URLStreamBuffer and I2S buffer settings and counts...no change. The sine example starts and stops at 44.1KHz and 2 channels. I2S skips, starts and stops. I've verified that the I2S signal from the device is not experiencing these issues. Other things worth trying? Also when using I2S, the rx pin must be set manually in the config even when using the default ESP32 pins. |
Beta Was this translation helpful? Give feedback.
-
Did you try the test sketch with the sine generator ? I was using Chrome to test... |
Beta Was this translation helpful? Give feedback.
https://github.com/pschatzmann/arduino-audio-tools/wiki/It's-not-working
I guess you just forgot to set the log level to warning. I was just running the test sketch with a sine generator at 44100 stereo and I can not reproduce your issues. Even 48000 works just fine...