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);
}