Psychopy 1.84.2 on Win7 and XP.
I have a loop consisting only of a sound component. The duration is specified (5.0 seconds), but in spite of this, the component, and therefore the loop, is terminating at the end of the sound file instead. I’m doing this in the GUI, but here is the relevant code:
------Prepare to start Routine “trial”-------
t = 0 trialClock.reset() # clock frameN = -1 continueRoutine = True routineTimer.add(5.000000) # update component parameters for each repeat sound_1.setSound(Sound, secs=5.0)
Does anyone know what could be causing this? Thanks.