Our great sponsors
-
delayplayer
A collection of scripts to delay live streaming radio services for synchronising with different time zones
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
You'd need over 700MB to store 5 hours of 320kbps internet radio. The ESP32 has 160'ish KB of RAM, you could perhaps store it to SD card. Writing to SD card seems to go up to 400kB/s. You'd need a buffer to alternate between reading & writing. My guess is the the ESP32 wouldn't be suitable to do all of this at the same time as decoding internet radio. There are some "server-based" options (like https://github.com/frisnit/delayplayer ), maybe that would be an easier alternative? Otherwise you could try setting up a second ESP32 to buffer a good ADC input to SD card and to play it back from there, decoupling the internet radio aspect.