Wakefield's Daily Tips

Sound components should start after the routine has started

If you are playing sounds online, then I would recommend setting the start time of any sound files in loops at .1 seconds or later. Since 2023.2 sounds often fail to play online after the first iteration of a loop. It seems to be that if the sound isn’t ready when it is supposed to start it “misses the boat”.

If your sound component has a start condition then I would recommend adding a time component to it. For example:
Begin Routine

playSound = False

Each Frame

if not playSound and t > .1 and showAudio:
     playSound = True

Then use playSound as the start condition instead of showAudio (in this example).

Larger sound files may need longer to load, in which case it would be worth including an ITI at the start of the trial routine (rather than having it as a separate routine, which is my usual approach).