This indeed looks awesome.
What DAC did you use?
My personal usecase would likely be speaker based. With a MAX98357A or similar.
Did you get further with the slim protocol?
Let us know. And please please open a github for the source, in whatever state it is in! We can all support improving it and and make this happen.
Regards,
Bert
Results 11 to 20 of 409
-
2019-02-12, 08:45 #11
- Join Date
- Nov 2011
- Posts
- 28
-
2019-02-14, 14:56 #12
- Join Date
- Aug 2008
- Posts
- 152
Just like to say, I think this looks very cool too!
-
2019-02-20, 01:49 #13
- Join Date
- Apr 2009
- Posts
- 26
I used the mp3 decoder from MrBuddyCasino on an ESP32, without DAC, just to see how the quality was.
It's not bad, I guess it can be compared to FM radio with mediocre reception. Much better than I expected, anyway.
I tuned it to stream.mp3 on my LMS server, and this worked quite alright. There is quite some lag when controlling it due to streaming, but thats ok for zero effort I guess.
There is also this project https://github.com/karawin/Ka-Radio Ka-Radio and https://github.com/karawin/Ka-Radio32 Ka-Radio32 which further expands on this work.
There is also an Android app to remotely control the radio.
Maybe this can server as a starting point, since streaming and control protocols are already implemented?
Not sure how much memory is available when this is flashed though....Running Squeezecenter 7.9 on MariaDB 10.1.38
Ubuntu 18.04.01 LTS Server
SqueezeBox Boom (x2) - SqueezeBox Classic - Squeezebox Radio
-
2019-02-20, 02:19 #14
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 1,879
That is impressive. Up to 320kbps MP3 plus a method to play other formats by adding more hardware and it is being actively worked on.
If the developer can be persuaded that LMS would bring a lot more options ... then maybe would help/advise on implementing Squeezelite/Slimproto.
-
2019-02-20, 02:34 #15
- Join Date
- Apr 2009
- Posts
- 26
Yes, the ESP32 is much more powerful than the ESP8266. And I did not get any stutters through WiFi, even without extra SRAM as buffer. Granted, I was next to the WiFi AP, but still...
I'd be happy if the ESP could work as a regular client without going through stream.mp3, as a first step. Not sure how much of the squeeze procotol would have to be implemented, but I guess the squeezelite and squeezeslave sources can give insights on that.Running Squeezecenter 7.9 on MariaDB 10.1.38
Ubuntu 18.04.01 LTS Server
SqueezeBox Boom (x2) - SqueezeBox Classic - Squeezebox Radio
-
2019-02-21, 07:57 #16
- Join Date
- Sep 2009
- Posts
- 150
I think this is really cool, but my first thought was the old saying: "Just because you can, doesn't mean you should!"
-
2019-02-25, 08:28 #17
- Join Date
- Dec 2018
- Posts
- 80
I have finnally receive my ESP32 and the vs1053 module. They can decode 320kbs stream wihtout any trouble. Sound quality seems to be good to. I get some issues after few minutes and the 'command socket' stop to receive any packet from the LMS server. Probably a bug in my code.
I have prepare a projet on github to share my source code but i have to clean it a little bit before push it. It will be a very basic version for start.
-
2019-02-25, 09:51 #18
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 1,879
That is good news and welcome back.
-
2019-02-25, 13:23 #19
- Join Date
- Dec 2018
- Posts
- 80
Command issue is fixed now. I was able to play MP3 et ogg file but i get no sound with flac format. Streaming seems ok but no sound get out the module vs1053. I read on the net that old version of the vs1053 needs 'plugin' to play flac files. I will investigate this part later. For now i have to analyse more in details the slimproto because at the end of a song, the server do not start the next one. I have probably miss something in the protocol.
-
2019-02-25, 15:42 #20
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 17,908
AFAICT VS1053 doesn't support flac - so I think you'd have to make sure LMS can convert Flac to MP3 (i.e. lame has to be installed) - slimproto HELO packet tell LMS what audio formats are supported by the player.
Example from squeezelite log
Code:[22:22:42.451247] sendHELO:131 cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=96000,aac,ogg,flc,aif,pcm,mp3,loc