0

Loop MP3 Files on Music Maker MP3 Shield w/3W Stereo Amp
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Loop MP3 Files on Music Maker MP3 Shield w/3W Stereo Amp

by tscottwa on Mon Jul 16, 2018 6:19 pm

Adafruit Music Maker MP3 Shield w/3W Stereo Amp installed on Arduino Uno running sample sketch "player_simple." Three MP3 files are on SD card list out just fine but only two of the songs play. (see attached). I eventually inserted musicPlayer.startPlayingFile("track003.mp3"); below musicPlayer.startPlayingFile("track002.mp3"); but then only Track001 and Track003 play.

Am fairly new to Arduino and unable to figure out how to play all three MP3 songs, with a 30 second delay between each song, AND then repeat the three songs with a 3 minute delay between each "loops" continuously. I have moved the musicPlayer.startPlayingFile("track00x.mp3"); commands and added delay(3000); down below void loop() but Verify continues to crash.

PS Purpose of this project is to play these three files, with appropriate delays, as long as Arduino is powered on.
Attachments
Adafruit Music Shield Serial Output.jpg
Adafruit Music Shield Serial Output.jpg (30.14 KiB) Viewed 107 times

tscottwa
 
Posts: 1
Joined: Mon Jul 16, 2018 5:26 pm

Please be positive and constructive with your questions and comments.