There is an issue with the sound. After maybe 5-10 minutes into the session the cards do not produce sound anymore. Only had that issue after installing 24.11 update for the desktop version.
When closing and restarting Anki sound is produced again for a while.
Copy mpv.exe and everything else to Ankiās installation directory, i.e. %LocalAppData%\Programs\Anki
Open Anki
Use the Task Manager to shut down the mpv.exe process, review a card with sound or click on the audio replay button, Anki will start a new mpv.exe process in a few seconds, and see if it helps or not.
Open Anki, enable mpv logging and look at the log file once the same issue appears again, maybe itāll contain some helpful information.
To do it, run the following code in the debug console to temporarily enable mpv logging (while mpv is still running)
It should be pretty safe thing to do, but take it with a grain of salt.
Open Device Manager (Win + X), expand the āSound, video, and game controllersā section, right-click on your audio device (e.g., āRealtek High Definition Audioā or āHigh Definition Audio Deviceā), click āUninstall deviceā from the context menu and restart your PC.
Windows will automatically reinstall the default audio driver during the restart if a compatible one is available, or download the latest audio driver from the motherboard manufacturerās website (Win > System Information > BaseBoard Manufacturer).
It sounds like a different issue. Does it work on PC?
If it doesnāt work either, what your card looks like? It should include the audio replay button (āa black triangle in a white circleā).
If it does work, maybe the audio files were encoded as OGG and iOS doesnāt support this format yet. But to be sure, one of the audio files (that donāt work on iOS) can be checked with https://mediaarea.net/MediaInfoOnline.
In this case, reencoding the audio files (that donāt work on iOS) as MP3 should resolve the issue, for example, by using FFmpeg or VLC (Media > Convert / Saveā¦) and updating the notes to reference new audio files by opening the card browser and using Notes > āFind and Replaceā to replace .ogg] with .mp3] (if they had an .ogg extension).
Thatās strange. What was the output from the debug console? It should look something like this, and the last line will point to the log file that was just created.
After finding out that I had to press CTRL+enter to execute the command the log file was created These are the last entries up to the point when the player stopped producing sound
Do you see anything meaningful in there? I couldnāt find any labels of the audios in the log file.
Yes, that worked I can use No Sound Fix (VLC) addon now. Yet I stopped using it because the āpause audio buttonā didnāt work anymore. When disabling No Sound Fix it works again. I had reallocated the pause button with the " Customize Keyboard Shortcuts" addon. Maybe thereās a conflict between those two apps.
The āNo Sound Fix (VLC)ā addon doesnāt support the āpauseā button and nothing will happen if itās been pressed.
The issue with the āpauseā button (being pressed near the end of the audio file and resulting in no sound) will be likely fixed in the next Anki version.
In the meantime, installing No Sound Fix (libmpv) should work as a temporary workaround and resolve the issue on Windows without reopening Anki every time it happens.
Yes, itās a known issue that was previously fixed, but the code was changed a bit in order to support the latest mpv version and the bug was reintroduced.
The āNo Sound Fix (libmpv)ā add-on was a bit old and I updated it to the latest mpv version, it should fix the cropping issue if it happens near the end of the audio file, the mpv developers fixed it in mpv v0.37.
But the add-on is no longer needed, the latest Anki version was recently released and the issue with the āpauseā button will be fixed.