Closed jWos1 closed 9 months ago
You will need to analyse the stack-trace. Most likely it a failing memory allocation because you are running out of memory... Liblame uses a lot of memory: in fact even when you start wifi, this will not work any more. https://github.com/dankeboy36/esp-exception-decoder
Hi, I'm trying use MP3EncoderLAME along with MP3DecoderHelix from the
arduino-audio-tools
repo. The example for mp3 encoding from the README file works perfectly fine. However, when I try to import theMP3DecoderHelix
as in thestreams-url_mp3_helix-i2s
example (which works fine as well) fromarduino-audio-tools
repo, the program seems to break duringmp3.begin
call and reboots the board. Also, I had to get rid ofusing namespace liblame;
for it to even compile.Below is the mp3 encoding code with my modifications (I have marked my changes with a comment
// CUSTOM
):Here are the logs that I get:
Are these two components (mp3 encoder and decoder) supposed to be working fine together in a single sketch? Any ideas what am I doing wrong?