You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to play two MP3 at the same time using an OutputMixer, but no matter what, my playback is too fast AND I get messages of insufficient buffer.
I tried increasing the buffer in minxer.begin() but while the speed might be changing slightly (it's hard to know for sure, the playback is still way to fast) I keep getting buffer increase messages in the serial monitor.
I tried running the mixer with only a single file (OutputMixer<int16_t> mixer(i2s, 1); and all mentions of audio [2] commented out) - it plays slower than when I try to play two files, but it is still too fast.
I've seen some mentions of buffered stream in the discussions, but not sure how I could add it here (and if that would solve the issue).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to play two MP3 at the same time using an OutputMixer, but no matter what, my playback is too fast AND I get messages of insufficient buffer.
I tried increasing the buffer in
minxer.begin()
but while the speed might be changing slightly (it's hard to know for sure, the playback is still way to fast) I keep getting buffer increase messages in the serial monitor.I tried running the mixer with only a single file (
OutputMixer<int16_t> mixer(i2s, 1);
and all mentions of audio [2] commented out) - it plays slower than when I try to play two files, but it is still too fast.I've seen some mentions of buffered stream in the discussions, but not sure how I could add it here (and if that would solve the issue).
Thanks in advance for any and all help
Current code and mp3 files I use below:
Static_master.mp3
test2.mp3
Beta Was this translation helpful? Give feedback.
All reactions