Open vadpol opened 6 years ago
I can not write the software for the price of the VS1053. It is rather complicated to do the MP3 conversion in software. But if you have the time and skills to make it, I will be very interested.
Dear Sirs, I am not coder ( unfortunatelly ) but I this is already done in this git: https://github.com/earlephilhower/ESP8266Audio Please check it. Thanks
Well, mp3 conversion requires much less dynamic memory than aac or ogg formats, therefore it is still possible with current hardware setup and external 16 bit (and even internal ESP32 but less 8 bit quality ) DAC. I2S interface is native in ESP32. Unfortunately I am also not that much advanced with such a coding level as I am more to hardware part. But I know that it is possible for sure. Perhaps somebody else could contribute in this feature, that would be great!
karadio32 https://github.com/karawin/Ka-Radio32 mr buddy casino https://github.com/MrBuddyCasino/ESP32_MP3_Decoder
Both are closed projects, no flexibility.
non arduino - yes, closed - no
from these projects one can take only output functions in i2s
Ok, could you port then the I2S part from these projects?
And why do I need this? I successfully use customized versions of karadio (both 8266/32) for vs1053 and pcm5102 and I think (I.M.H.O.) that on vs1053 and the sound is better and more possibilities (ogg, aac), and the difference in a couple of dollars does not matter
Just because edzelf is another project that could have this feature as well. VS1053 is a great chip BUT:
I like edzelf project because it is open source, very transparent and flexible therefore and really looking for enhancing it with nice features of the choice.
Note, I had typed out a few paragraphs summarizing all of the reasons that I had previously come across that made this unlikely to happen without some significant changes.
Then I figured that I should probably at least look at the provided link before I dismissed the idea, but surprisingly I hadn't actually seen the provided info before.
If anyone hasn't clicked the link yet, I recommend it. Without having spent much time with it, it seems like it could be what we have been waiting for? (based on a quick skim of the repositorys feature list )
Edit: only ogg decoding seems to be missing, but I have yet to come across a radio stream that uses it anyway)
Dear @koskee , which link is that you referenced to?
@mikekgr sorry, the first one, https://github.com/earlephilhower/ESP8266Audio
(the name of it doesn't imply that it is actually esp32 compatible)
ok now it is clear, you mentioned my link. Thanks
@Edzelf Ed, might the above library be helpful to develop the relevant code? Many thanks!
I tried this on ESP8266 - hard hangs. Maybe on ESP32 it will be better?
One man found a way for connecting PCM5102 to VS1053b board, VS has I2S output mode, which need to be initialized by few commands in code. After this both boards plays simultaneously. There is no simple way for connecting one PCM5102, only both boards.
Hi Ed, would it be possible to include also I2S support into software for external DAC board like pcm5102 for example? This can be used instead of vs1053 however with some sound format limitation (mp3 streams only). From other hand there are still many stations broadcasting in this format and this board is much cheaper and less sophisticated than vs... Many thanks!