If your cards have auto-playing audio, then the javascript auto-advance will cut off currently playing audio when the timer finishes.
You’d need to turn off audio auto-play in the deck options and instead implement audio auto-play in javascript so that the auto-advance javascript would have access to the audio playing state and be able to wait for audio playing to end before advancing.
The code in this post could be a helpful starting point: Is it possible to load audio dynamically with JavaScript? - #10 by srghma