I need to make a circuit which plays a 17 second sound file (WAV or MP3) on loop continuously, then there are two buttons attached to the circuit, which when pressed, need to each play their own 2 second sound file.
So the first file is always playing and the other two only play when their corresponding buttons are pressed, but they need to play the sound files through, even if the switch is released during the 2 second clip.
My questions are:
- Is this possible with an Arduino.
- Can the Arduino play up to 3 audio files at the same time.
- Can the Arduino loop a sound file or would I be better to make a long 3 hour (for example) file instead.
- What would I need to get in the way of modules to make this work?
Any guidance with this would be much appreciated.
Thanks.
Kevin