I have TTS set up on my Anking deck with this code:
{{^One by one}}
{{tts en_US voices=Microsoft_Andrew_Online,Apple_Zoe_(Premium) speed=1.2:cloze:Text}}
{{/One by one}}
“Interrupt current audio when answering” is selected, but does not interrupt the TTS when the card is flipped. Any ideas for how to solve this? I’m not a coder and just copied and pasted this code from somewhere online so i’m not sure if it is the culprit.
Are you seeing this issue on all platforms/devices that you use – or just some? If you tell us which OS versions and Anki versions have the issue, that might help track it down.
Thank you for the reply! I rarely use anki on mobile so I didn’t think to check there, but surprisingly the audio interrupts there properly. On PC I have I tried safe mode, switching video drivers and restarting but still have the same issue. My Anki version is this:
Version 25.09.4 (d52ca669)
Python 3.13.5 Qt 6.9.1 Chromium 122
I tried but was not able to reproduce the behavior. Instead, pressing the “Show Answer” button or pressing the space bar correctly caused the TTS audio to be interrupted, as expected.
Anki 26.05, macOS Tahoe 26.5.1.
For testing, I cloned the Cloze note type.
Front Template:
Card created for testing. Fields:
Text: Cloze {{c1::card}} testing. This is an extra long sentence to make the audio longer.
Back Extra: This is a test.
Edit: Added: I see that the OP was using some sort of Anking note type. If the problem doesn’t occur with the built-in Anki note types, then it could be that this is an Anking, not Anki, problem.