schreibfaul1 / ESP32-MiniWebRadio

Internetradio with ESP32, I2S DAC and SPI TFT Display with Touchpad
https://www.youtube.com/watch?v=6QbPee2583o
330 stars 82 forks source link

Suggestions for improvement #83

Closed valera39 closed 2 years ago

valera39 commented 2 years ago

Hello everyone, hello Wolle! Let me repeat myself a little. Is it possible to implement such algorithms:

schreibfaul1 commented 2 years ago

Hello @valera39, the first two points are done. Now the remote control can be used properly. Point three: With 'mute', the volume is faded in or out in stages. In addition, if AMP_ENABLED is set in common.h, the assigned GPIO is controlled. AMP_ENABLED was already present to control the amplifiers on the audio boards (e.g. AI Thinker A1S board or OLIMEX ADF) and to save energy. The ESP32 has two cores and one can be selected with AUDIOTASK_CORE. By default, Arduino setup() and loop() runs on core 1 and therefore the display also runs on core1. I think for the Aufiotask core 0 is better. PSRAM is not strictly required. There is one exception: FLAC with an external DAC requires PSRAM, the SRAM does not have enough capacity. Older ESP32 (these have a design flaw) require the mfix-esp32-psram-cache-issue. ESP-12K is certainly an ESP32-S2 and would then not work because of only one core. regards Wolle