Reply To: Audio replay only once

PennController for IBEX Forums Support Audio replay only once Reply To: Audio replay only once

#9852
project.travel
Participant

Hi again,

I have a similar question as before in my experiment https://farm.pcibex.net/r/wMBIZT/.

I’d like a text (defined as “replay”) to appear after the audio is played for the first time, and make it disappear after the replay. (The text means ‘you can play it once more.’) As you can see in my demo link, I tried the following and a few others (in the “practice” trial):

newTimer(“callback”,1)
.callback(getAudio(“audio”).wait().remove())
.callback(getText(“replay”).wait().remove())
.start()

The text doesn’t disappear afther the second audio play, though. Maybe I’m not understanding how the newTimer and the callback works here.

Thank you for your help!