-
Notifications
You must be signed in to change notification settings - Fork 4
Frequently Asked Questions
Phil Schatzmann edited this page Mar 4, 2024
·
15 revisions
-
The audio quality is very bad and the sound is stuttering. I could not reproduce this issue with the proposed settings, but you still have a lot of options:
- Make sure that you set the log level to Warning or Error or you deactivate the logging.
- Use the Opus codec.
- Try to increase the I2S Buffer
- On the Microcontrollers that support FreeRTOS you can use the ProcessorFreeRTOS which uses some additional buffer
-
Do I need to define the Server IP address
- The Server IP address is determined with the help of MDNS when you use an ESP32.
- On other platforms you must define the server IP address either in the configuration file (CONFIG_SNAPCAST_SERVER_HOST) or on the sketch (setServerIP()).
- Even on the ESP32, I recommend to define the server address, since MDNS might fail.
-
My ESP32 has PSRAM, how can I use it ?
- Just activate PSRAM in the Arduino Tools Menu: The Buffers, Arrays and Queues use the default Allocator from the AudioTools which uses
PSRAM if it is available. This leaves you with the following available memory for your additional functionality:
- With PSRAM Free Heap: 191696 / Free Heap PSRAM 4085075
- W/O PSRAM Free Heap: 90548 / Free Heap PSRAM 0
- Just activate PSRAM in the Arduino Tools Menu: The Buffers, Arrays and Queues use the default Allocator from the AudioTools which uses
PSRAM if it is available. This leaves you with the following available memory for your additional functionality:
-
When should I not use this project ?
- If you have a ESP32 with PSRAM and you are looking for a solution that just works, I suggest that you try out
- Otherwise, or if you want to integrate this into your own Arduino Sketch - this is your project!