Self paced reading task


Here you are.

That should work online but not locally.

| myClock=core.Clock() | myClock=new util.Clock(); |

Alright. so the core.Clock code works for PsychoPy, locally
but if I push it on Pavlovia, I should define clock as new util.Clock, right?

1 Like

Dear @wakecarter,
remember how you told me not to insert

win.flip() in Builder? well, I deleted that, pushed the experiment to Pavlovia, and I receive this error:

  • ReferenceError: win is not defined

you knew sth was up when you said

well, you were right. It doesn’t work! Could you kindly tell me the reason behind this happening?

That’s the easy bit

win = psychoJS.window;

in Begin Experiment JS only as per my 2020 crib sheet

1 Like

thank you very much. Let me try the code. :tulip:

Hello Zeinab.
I am doing research in Farsi using Psychopy. How can I get help from you and ask you some questions related to this software?

Hi, I am new to psychopy, can you please give me your code to run self-paced reading task? i am new to coding as well as designing this task, it is absolutely important for my thesis. I will be highly obliged if you mail me at reachanwesha22@gmail.com

Self-Paced Reading code | try it | discussion thread

Based on code from my code snippets Google page and using sentences from @Zeinab_Alipour, this demo includes reading times for each word and an editable text box comprehension question. Variants include incremental phrase, central word, moving window and moving word.
Morys-Carter, W. L. & Alipour, Z. (2022, February 18). Self Paced Reading [Computer software]. Pavlovia. https://doi.org/10.17605/OSF.IO/S2FD6 .

1 Like