jsPsych

lexsync: From a word-frequency corpus to an EEG-ready experiment

Post

Selecting words is only the first step in preparing a psycholinguistic experiment. This post uses lexsync to match high- and low-frequency items, balance them across lists, and export timed PsychoPy and OpenSesame scripts that send electroencephalography (EEG) triggers, plus a jsPsych version that logs event markers.

How to end trial after timeout in jsPsych

Post

I would like to ask for advice regarding a custom plugin for a serial reaction time task, that was created by @vekteo, and is available in Gorilla, where the code can be edited and tested. By default, trials are self-paced, but I would need them to time out after 2,000 ms. I am struggling to achieve this, and would be very grateful if someone could please advise me a bit.

Simultaneously sampling from two variables in jsPsych

Post

Implementation using position indices in a for-of loop to simultaneously sample from two variables in jsPsych, enabling parallel presentation of prime and target words with synchronized trial indexing.