Hi all,
I’m running an acceptability test and managed to build a self-paced reading test, with the space bar triggering the next word. However, I’m having issues converting this into an independently timed test.
begin routine:
words = sentence.split()
numWords = len(words)
totalDuration = numWords * 0.3
currentWordIndex = -1
Each frame:
checkIndex = int(t/0.3)
if checkIndex < numWords:
if checkIndex != currentWordIndex:
currentWordIndex = checkIndex
text.setText(words[currentWordIndex]) # update to the current word