Interval between audio playbacks during autoplay

OS: Windows 10

Every card in my deck contains several short audio files. When reviewing cards, I let audio files play automatically.

After I upgraded Anki from v2.1.17 to v2.1.30, I noticed that the interval between the timings in which one audio file ends and the next one starts has been greatly shortened. (I don’t know the exact length of the interval, but roughly, from ~400 ms to ~100 ms.) Perhaps this is related to the fact that the desktop version of Anki now uses mpv instead of mplayer.

Since in AnkiDroid this interval is still close to 400 ms rather than 100 ms, I think it would be great if a user can control the interval between audio playbacks for autoplay. That would make the user experiences with automatic audio playback across the desktop and mobile versions more consistent.

Create mpv.conf in %APPDATA%\Anki2 with audio-wait-open=0.3 and restart Anki.

As an alternative and without restarting Anki, open the Debug Console in Anki, copy-paste the following lines and press Ctrl+Return.

import os

from aqt import mw
from aqt.sound import mpvManager

with open(os.path.join(, 'mpv.conf'), 'a') as f:
print('audio-wait-open:', mpvManager.get_property('audio-wait-open'))


Thanks, it works perfectly!

1 Like