Does Anki distinguish between the first time TTS is played and when it is replayed?

I want to tweak a TTS add-on I wrote for Anki. The change I want to make is that on the first play (when the card is rendered) I want to play the TTS audio at double speed. When the TTS audio is replayed via the r keyboard shortcut, I want it to play at regular speed. I know how to adjust the speed with the output program (spd-say), but I don’t know how (or if it’s possible) to detect if its the first time playing or a replay. Is there a hook for play/ replay?

The audio_will_replay hook might work for you.