I would like to play two different audio clips using a single GPIO input. I want the audio clips to alternate - press GPIO1 audio clip 1 plays then stops, press GPIO1 again and audio clip 2 plays then stops, next GPIO1 trigger goes back to audio clip 1.
Any suggestions on how I can do this?
Thanks,
David