ESP32 client is being made #599
Replies: 14 comments 5 replies
-
Yep, see #520 |
Beta Was this translation helpful? Give feedback.
-
I'm aware of Jørgen's project and I'm really excited about it! |
Beta Was this translation helpful? Give feedback.
-
Yes - My implementation is still work in progress and ESP-IDF FreeRTOS tailored code. I use the library https://github.com/bridadan/libsnapcast that @bridadan has created and yes I use an odd codec/amplifier because I made one my self :-) I also ripped it out of the ESP32 ADF (Audio framework) - be cause I have something better in the making as well. One day it mite get back when code start to mature. All my respect goes to Badaix who is the goal keeper of the protocol and concepts. His C++ implementation is highly abstracted and space grade build. Not easy for me to follow as I am just an IC designer and use to build thing from custom made transistors, resistors and caps. But the code is a good reference model and I am getting there feature by feature. Add the end of my tunnel is see an snapclient ESP-IDF component that do partial protocol support and fit into an open source multiroom audio streaming eco system. |
Beta Was this translation helpful? Give feedback.
-
@jorgenkraghjakobsen That would be so great as had the idea but the implentation never got further than the ESP32-Audio-Kit board that has been gathering dust for some time. PS my alternative was a https://wiki.radxa.com/RockpiS which is sort of Pi ZeroW price with built in audio codec and also an Cortex-A35. Would be great to see ESP32-Snapcast as thought the same but for any others those Rockchip RK3308 chips are also great value. |
Beta Was this translation helpful? Give feedback.
-
That RockpiS is cute - But much bigger power and system footprint the needed for a snapclient. |
Beta Was this translation helpful? Give feedback.
-
@StuartIanNaylor I want to try MT7688 it's the chipset that is used in Onion Omega 2, and is available in bare modules similar to ESP32 (only slightly bigger) for around 10$. It runs Openwrt which already has snapcast in its repository and has I2S for external DAC. |
Beta Was this translation helpful? Give feedback.
-
@jorgenkraghjakobsen @monte-monte Its not a general purpose arm chip its a specific low price audio soc very similar to the allwinner R328 but cortex-a35.
|
Beta Was this translation helpful? Give feedback.
-
Hi All |
Beta Was this translation helpful? Give feedback.
-
Awesome! Well done! |
Beta Was this translation helpful? Give feedback.
-
Just a quick sum up buyers guide: So if you want to be on the safe side regarding buffering, definitely go for the WROVER. |
Beta Was this translation helpful? Give feedback.
-
FYI just read about this ESP32 based audio kit in the news: |
Beta Was this translation helpful? Give feedback.
-
Looks very similar to the LyraT from espressif |
Beta Was this translation helpful? Give feedback.
-
that looks promising for a low cost device! includes 3W ampl it would seem, |
Beta Was this translation helpful? Give feedback.
-
I really tried going down this route, first by just trying to see if I can run the standard esphome media player. While some streams work, it looks like (for at least wroom32; i'll try to get my hands on some wrover32 modules) the poor ESP32 seems to be slightly too weak. I can open an mp3 stream, to find most of them to be stuttering and playing back to slow. (google) tts seems to work; but that's also just an mp3 of course. Compression probably matters a lot here obviously. Has anybody else had any luck/explored this further? I'm running snapcast client on an opewrt access point with an USB speaker, which is working quite well. But ESP32 seems like it might simply not handle useable codecs. @jorgenkraghjakobsen seems to also have abbandoned his repo ... |
Beta Was this translation helpful? Give feedback.
-
Maybe it's a wrong place to post it, but I wanted to attract attention to the fact that Jørgen Jakobsen has wrote a ESP32 client for snapcast: https://github.com/jorgenkraghjakobsen/snapclient
I haven't tested it myself but he reports that it works smoothly. The only thing for now is that he uses uncommon i2s dac/amplifier that makes it hard to try his code without additional work to adapt it to something more common (if I understand correctly).
Hope to see ESP32 support in mainline sometime.
Beta Was this translation helpful? Give feedback.
All reactions