Um programa ESP32 baseado na Web para reproduzir arquivos Webradio e MP3/AAC de uma lâmpada ou servidor LLMP.
A saída de som vem de um DAC I2S.
Atualmente, os DACs I2S genéricos (com pinos BCK , WS e DOUT ), M5Stack Node e AI Pensher A1S Audiokit são suportados.
Quando exibido em um M5Stack com a base do nó, você pode ver algumas informações no visor.

A Biblioteca Audioi2S usa muita RAM. O Estreamplayer funcionará apenas corretamente em uma placa com PSRAM.
O Estreamplayer está escrito para reprodução sobre HTTP. O ESP32 não fala NFS ou SMB, que são maneiras comuns de compartilhar arquivos em uma rede.
Em vez disso, o EstreamPlayer usa um script PHP no servidor para navegar nas pastas de música.
Copie este script para o servidor para usar sua biblioteca de músicas.
Isso é totalmente inseguro e só deve ser usado em uma LAN!
Mas se você não tiver um servidor de música local, ainda pode usar o Estreamplayer para sintonizar as estações de rádio da Web e adicionar suas próprias estações de rádio a predefinições e favoritos.




Use o mais recente núcleo do Esp32 Arduino.
system_setup.h e defina suas credenciais WiFi e defina SCRIPT_URL no local do script PHP.Tools->Core Debug Level->Info antes de piscar para que você possa pegar o endereço IP na porta serial. Selecione uma placa ou DAC descomentando a linha relevante em system_setup.h .
GENERIC_I2S_DAC como placa.BCK , WS e DOUT e nenhuma configuração do driver.BCK = 21, WS = 26, DOUT = 22.M5STACK_NODE para compilar para o nó M5Stack com MCLK no GPIO0 .A1S_AUDIO_KIT para compilar o kit de áudio ESP32 -A1S.Content-Type: audio/mpeg ou o decodificador não reconhecerá os arquivos. 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.