Program ESP32 berbasis web untuk memutar file Webradio dan MP3/AAC dari Lampu atau Server LLMP.
Output suara berasal dari I2S DAC.
Saat ini I2S DACS generik (dengan pin BCK , WS dan DOUT ), Node M5Stack dan AI1S AUDIOKIT AIS AUDIOKIT didukung.
Saat flash ke M5Stack dengan basis node Anda dapat melihat beberapa informasi di layar.

Perpustakaan Audioi2S menggunakan banyak RAM. EstreamPlayer hanya akan berfungsi dengan baik di papan dengan PSRAM.
EstreamPlayer ditulis untuk pemutaran melalui HTTP. ESP32 tidak berbicara NFS atau SMB yang merupakan cara umum untuk berbagi file melalui jaringan.
Sebaliknya EstreamPlayer menggunakan skrip PHP di server untuk menavigasi folder musik.
Salin skrip ini ke server untuk menggunakan perpustakaan musik Anda.
Ini benar -benar tidak aman dan hanya boleh digunakan pada LAN!
Tetapi jika Anda tidak memiliki server musik lokal, Anda masih dapat menggunakan EstreamPlayer untuk mendengarkan stasiun radio web dan menambahkan stasiun radio Anda sendiri ke preset dan favorit.




Gunakan ESP32 Arduino Core terbaru.
system_setup.h dan atur kredensial WiFi Anda dan atur SCRIPT_URL ke lokasi skrip PHP.Tools->Core Debug Level->Info sebelum Anda berkedip sehingga Anda dapat mengambil alamat IP dari port serial. Pilih papan atau DAC dengan membongkar baris yang relevan di system_setup.h .
GENERIC_I2S_DAC sebagai papan.BCK , WS dan DOUT dan tidak ada pengaturan driver.BCK = 21, WS = 26, DOUT = 22.M5STACK_NODE untuk dikompilasi untuk Node M5Stack dengan MCLK di GPIO0 .A1S_AUDIO_KIT untuk dikompilasi untuk kit audio ESP32 -A1S.Content-Type: audio/mpeg HTTP Header Set atau decoder tidak akan mengenali file. 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.