Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
GNU General Public License v3.0
1.98k
stars
432
forks
source link
Mixing 2 mp3s from SD becomes really noisy after a few seconds depends on dma buf count and samples #664
i got a few problems with mixing two mp3s together. I have a background sound and some sounds on top of it.
My problem is, that after a few seconds it becomes really really noisy. I realized, that it's necessary to increase the dma buf count and the number of samples. But it's just a shift in the future until the noise starts.
I read in other topics, that it may help to convert the mp3s to wav files. But I have no idea. Does anyone have a suggestion for me?
My Code looks like this. It's very similar to the mixer example:
Hello,
i got a few problems with mixing two mp3s together. I have a background sound and some sounds on top of it. My problem is, that after a few seconds it becomes really really noisy. I realized, that it's necessary to increase the dma buf count and the number of samples. But it's just a shift in the future until the noise starts. I read in other topics, that it may help to convert the mp3s to wav files. But I have no idea. Does anyone have a suggestion for me?
My Code looks like this. It's very similar to the mixer example: