Audio quality for streams-sd-mp3-i2s #1421
-
I am developing an application based on the example streams-sd-mp3-i2s. I had no problems to get it work but after also testing streams-url_mp3-i2s I am a bit disappointed in the audio quality when streaming from SD card. The audio quality when streaming from url is fantastic, crystal clear. My test mp3 files sound nice when played from iTunes using the same speakers. My equipment: Az-delivery ESP-32 Dev Kit C V4 and SPI SD card adapter (looks like the one shown here: https://www.pschatzmann.ch/home/2021/11/02/streaming-mp3-files-to-a-bluetooth-speaker/). DAC: UDA-1334 (copy). Speakers JBL Creature. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I guess you are using libhelix and you just ignored the information in the Readme of that project related to the bitrates. |
Beta Was this translation helpful? Give feedback.
-
I never had any issue with what Audacity classifies as Standard Speed (170-210). If you go higher, you need to adjust the buffer as descirbed in the Readme. If this is not helping you need to double check and maybe increase the SPI speed, but usually Wifi streaming is slower then SD reading. You can try out some of the measuring sketches to compare the thruput.. |
Beta Was this translation helpful? Give feedback.
-
Eventually I ended up with quite OK sound quality after the following actions: Streaming a 231 Kbit/s (VBR) mp3 file was after the above actions a much nicer experience. |
Beta Was this translation helpful? Give feedback.
I guess you are using libhelix and you just ignored the information in the Readme of that project related to the bitrates.