Pages: [1]   Go Down
Author Topic: Due SimpleAudioPlayer, problem playing multiple files  (Read 203 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Dear All,

I have a problem. I want to create a sort of audio player where I can play a .wav file depending on wich pin is triggerd. This code works fine now thanx to the standard code in the Arduino Sketchbook. But now the problem starts: when I say I want to play another file after my first, the music has "pauses" in it. Like it has a problem buffering. Also deleting the "while(true)" results in the same problem.

I use the Arduino Due in combination with a w5100 ethernet shield with micro SD-card (got 2 of these shields and both have this problem).

Does anyone know how to resolve this problem???
Logged

Ajax, Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 23
Just visiting this planet
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Please post your code so we can check it.

If you play the "other" file first, does it still have pauses?

Is it always the file you play second that has pauses?

What if you play the first file again?
Logged

Pages: [1]   Go Up
Jump to: