On all my decks with sound files, the beginning of the sentence is cut off. So, for example, the sentence “According to the news report, three men were badly injured” sounds like “to the news report, three men were badly injured” or “How many employees does your company have?” sounds like “employees does your company have?”
I tried all the troubleshooting steps, i.e. changed the video driver, reset windows size, but nothing helped.
I tried creating a mpv.conf file and added these lines but that didn’t work.
audio-stream-silence=yes
audio-wait-open=2.0 (I started with the recommended value here of 0.3, then tried 1.0, 1.5 and 2.0 but nothing worked.)
I’m running Windows 11 and Anki Version 25.09.2 (3890e12c).
This isn’t a solution, just a question. If the first recording on your card is a pause file, will this issue occur?
<p style="display: none;">[sound:_05s.mp3]</p> <!-- a short pause to work around a Bluetooth error -->
I used to set this up at the very beginning of the card, and I put the silent file _05s.mp3 or _1s.mp3 in my media folder and was able to use it somehow. The Bluetooth headphones were just a little glitchy at a distance, losing the signal, or something else that triggered them, maybe exiting power-saving mode and needing a short pause.
If you paste it into the fields every time, it’ll be a pain. It needs to be inserted into the map design. Although you can also paste it into the fields, just insert it before the normal audio.
Prevents SPDIF/HDMI/USB/Bluetooth digital audio playback devices from sleeping.
Maybe try running the following code inside the debug console to create or overwrite the mpv.conf file if it exists and add 1 second delay to mpv (or put it into the mpv.conf file and restart Anki).
import os
from aqt.sound import mpvManager
with open(os.path.join(mw.pm.base, 'mpv.conf'), 'w') as f:
f.write("""af-add=lavfi=[adelay=delays=1000:all=1]""")
# restart mpv to apply new settings
mpvManager.shutdown()
mpvManager.get_property('mpv-version')
Maybe try updating mpv to the latest version, but it probably won’t help.