Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: AudioPlaySdWav delay

  1. #1
    Junior Member
    Join Date
    Dec 2015

    AudioPlaySdWav delay

    Hi all,

    Suppose I want to simultaneously play 4 WAV files.

    When using AudioPlaySdWav:lay is it necessary to add a delay between each call? Or can I call play and then delay?

    For example would loop be ok? (I don't currently have hardware to test with)

    void loop() {
       // Code here to check if buttons are pressed
      if (button1_pressed) {"SDTEST1.WAV");
      if (button2_pressed) {"SDTEST2.WAV");
      if (button2_pressed) {"SDTEST3.WAV");
      if (button2_pressed) {"SDTEST4.WAV");

  2. #2
    You shouldn't need the delay. Get some hardware and experiment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts