please find here another release that fixes the problem seen with the modules without PSRAM.
You'll find here the full version and the one without bluetooth.
I suggest to use the latter with modules without PSRAM.
Version full Version without BLE The main change, compared to the previous version, is the improvement of the mp3 radio streaming
This is an extract of the updated documentation
Code: [Local Link Removed for Guests]
It is also possible to play mp3 streaming web radios with the command
PLAY.STREAM streaming_url$ [,buffer] [,disable_id3] [,use_http10] [,show_buffer] [,preload_time]
Example:
PLAY.STREAM "http://91.121.159.124:8000/eko-des-garrigues-128k.mp3"
To avoid glitches, the stream is buffered locally using a buffer of 20 Kbytes.
This can eventually be increased to improve the performance of the streaming, in particular with ESP32 modules that include the PSRAM.
Example:
PLAY.STREAM "http://audio4.nemostream.tv:8011/autodj", 50000
To avoid glitches, the stream is preloaded in the buffer for 4 seconds or until it reaches the 80% of the allocated size; the optional argument ‘preload_time’ can be used to modify this time.
It is important to note that streams using https:, require more memory and more CPU power to process the encrypted data. In this case, it is recommended to use modules with PSRAM and set a big buffer size ( at least 150000, for example).
The optional argument ‘disable_id3’ disables the parsing of the metadata included in the stream. This is particularly useful for high rate streams that uses massively the cpu (generating a lot of glitches)
The optional argument ‘use_http10’ is useful for streams that still uses the HTTP 1.0 protocol
Example:
PLAY.STREAM "http://icecast.radiofrance.fr/franceinter-lofi.mp3", 50000,,1
The optional argument ‘show_buffer’ will show how the buffer is managed and can be useful for debug