music shield v1.2 project help

hi there
I'm a newbie to Arduino and ive got an Arduino Uno to help out my grandad with his model building to add some sound effects such as whistle tones. I was suggested by a mate to pick up one of these as he had seen other modelers use them for sound effects. I also bought a music shield from Maplins when they were open in the UK as I thought this would make it easier.

All I would like is some help or guidance on how to program it correctly, at the moment I can play mp3 sounds clearly but it keeps on looping all the time until you manually stop/pause the file. for instance, when we want to sound a whistle we would like the file to stop after it has finished, not looping.

I will eventually like to add buttons so it would be easier for my grandad to choose what sound he would like at the time but this would be a future thing as I would just like to get the code corrected.

thanks in advance
Luke

music_player.ino (257 Bytes)

Look at the documentation or examples for the MusicPlayer library. Any examples should be in File->Examples->MusicPlayer->

I'll have a look
Thank you
Luke