Un programa ESP32 basado en la web para reproducir archivos Webradio y MP3/AAC desde una lámpara o servidor LLMP.
La salida de sonido proviene de un I2S DAC.
Actualmente se admiten DACS I2S genéricos (con pines BCK , WS y DOUT ), M5Stack Node y AI Thinker A1s Audiokit .
Cuando se interpone a un m5stack con la base del nodo, puede ver alguna información en la pantalla.

La biblioteca AudioI2s usa mucha RAM. EstreamPlayer solo funcionará correctamente en una placa con PSRAM.
EstreamPlayer está escrito para reproducción a través de HTTP. El ESP32 no habla NFS o SMB, que son formas comunes de compartir archivos a través de una red.
En su lugar, EstreamPlayer usa un script PHP en el servidor para navegar por las carpetas de música.
Copie este script al servidor para usar su biblioteca de música.
¡Esto es totalmente inseguro y solo debe usarse en una LAN!
Pero si no tiene un servidor de música local, aún puede usar EstreamPlayer para sintonizar las estaciones de radio web y agregar sus propias estaciones de radio a preajustes y favoritos.




Use el último núcleo Arduino ESP32.
system_setup.h y establezca sus credenciales WiFi y establezca SCRIPT_URL en la ubicación del script PHP.Tools->Core Debug Level->Info antes de flashear para que pueda obtener la dirección IP desde el puerto serie. Seleccione una placa o DAC desencadenando la línea relevante en system_setup.h .
GENERIC_I2S_DAC como placa.BCK , WS y DOUT y sin configuración del controlador.BCK = 21, WS = 26, DOUT = 22.M5STACK_NODE para compilar el nodo M5Stack con MCLK en GPIO0 .A1S_AUDIO_KIT para compilar para el kit de audio ESP32 -A1S.Content-Type: audio/mpeg HTTP Set o el decodificador no reconocerá los archivos. MIT License
Copyright (c) 2020 Cellie
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.