Hey there, I'm using a Teensy v3.1 to play 3 different sounds with a push button. Although I'm not actually using the audio shield or an sd card, just the controllers on-board flash memory.
The problem is:-
When the button is pressed and held down I need the 1st file to be played once to its end.
Then followed by the 2nd file to its end but this file is in a loop.
When the button is released the 3rd file needs to be played once.
The problem I'm having is the files are being cut off short when played due to the bounce update.
How can i get round this problem so the 1st 2 files can be played to the end with the button held down.
Atm all I'm getting a quick messy burst from the speaker.