-
Maybe try to turn off ‘audio enhancements’ if they’re enable.
-
Maybe try to set
gapless-audio=no
for mpv or install the latest Anki version with the same change. It could be installed in a separate folder. -
Maybe tell mpv to dynamically add a bit of silence at the end, the same way as
gapless-audio=no
.mpv.conf
af=lavfi=[apad=pad_dur=5]
debug console
import os from aqt import mw from aqt.sound import mpvManager with open(os.path.join(mw.pm.base, 'mpv.conf'), 'a') as f: f.write('af=lavfi=[apad=pad_dur=5]\n') print('[af] before:', mpvManager.get_property('af')) # restart mpv to apply new settings mpvManager.shutdown() print('[af] after:', mpvManager.get_property('af'))
3 Likes