Rogue rMP3 and playing files without gaps bettween files

Hi,

I recently got a Rogue rMP3 shield player for my Arduino UNO board wich is working really well for now. I'm looking to do something wich I don't understand why it's not working.

I'm playing files in looping in the loop section but there is a gap between each files a gap that it's not supposed to be there because each WAV follow the other in order.

If you know this board, what could be the cause of this problem knowing that each delay I inputed is the time of the sound in milliseconds?

Thank you,

#include <RogueMP3.h>
#include <SoftwareSerial.h>
 
SoftwareSerial rmp3_serial(6, 7);
RogueMP3 rmp3(rmp3_serial);
 
void setup()
{
  Serial.begin(9600);
  rmp3_serial.begin(9600);
 
  // synchronize audio player
  rmp3.sync();
  rmp3.stop();

}
 
void loop()
{
  rmp3.playFile("/MMX02.wav");
  delay(1234);
  rmp3.playFile("/MMX02A.wav");
  delay(319);
  rmp3.playFile("/MMX02A.wav");
  delay(319);
  rmp3.playFile("/MMX02A.wav");
  delay(319);
  rmp3.playFile("/MMX02A.wav");
  delay(319);
  rmp3.playFile("/MMX02A.wav");
  delay(319);
  rmp3.playFile("/MMX02A.wav");
  delay(319);
  rmp3.playFile("/MMX02A.wav");
  delay(319);
  rmp3.playFile("/MMX02A.wav");
  delay(319);
  rmp3.playFile("/MMX02A.wav");
  delay(319);
  rmp3.playFile("/MMX01.wav");
  delay(343);
}

Does this board even support gapless/seamless playback?

Many do -not-.

This is often because library/code used.. (and other things)..

where opening/closing the files take 'time' and hence you get a gap.

even on most boards.. looping the SAME file still doesnt give 100% true gapless/seamless playback.

  • Make sure you have commented out ALL Serial.print() lines.. as these can also cause issues with gapless/seamless playback