While building my project using teensy 3.6 and audio shield I have a problem. The wav audio file plays a little bit faster that it must. I start playing the same file from my PC and from Teensy using AudioPlaySdWav object. The playing process starts at the same time perfectly synchronized. But after 3-4 minutes of playing I hear a noticable difference in time between my pc's audio and teensy's one. Teensy plays the track a little bit faster. And at 4-5th minute I hear this difference clearly. No clicks/pops are heard during playing. Only audio shield accesses SD card during playing. SD card is 32Gb Sandisk Ultra.
How can I solve this problem? I really need accurate timing as my wav track must be perfectly synchronized with other actions Teensy does in background.
How can I solve this problem? I really need accurate timing as my wav track must be perfectly synchronized with other actions Teensy does in background.