Open silvan2468 opened 2 months ago
I tested it right now with an Ardunino Nano ESP32: 2 wave files 44 kHz, 16 bit signed at the same time and I could not hear some accustical errors. Or would it not be an accustical error?
I did some further resarch and with 44 kHz it is indead a latency problem. It flickers with about 10 Hz. Is the problem the SPI speed? The library seems to use standard SPI speed with 4MHz? Can the problem be solved with HSPI?
I increased the SPI-Speed to 40 MHz, but the flickering still occures. So I tryed the ESP32-audioI2S-library from "Schreibfaul1" and there the sound was cristal clear.
Also I switched on the status led when datas are read from SD-card. And the sound flickering seems to match with the led-flickering. So it looks for some problems at reading from sd card.
Hy Thanks a lot for your library. It works great. I will develop a ultra small sound module for my RC-boats. The Amplifier chip I like to use needs at least a sample frequency of 32 kHz. I like to play one permanent repeated motor sound and a second at the same time (f.ex. a horn) for really short time (2-3s). Do you think that's possible without a latency issue?
Did you made some improvements in latency issuses?
Thanks for an answer and kind regards Silvan