There are numerous ways of pseudorandomizing trials, depending on your experiment's characteristics and how complex the pseudorandomization is. Sopmetimes nested loops will do the trick. Otherwose, you can also create your trials lists outside Open Sesame and import tham as csv files (and then, for examepol, pick one randomly for every participant); see https://osdoc.cogsci.nl/4.0/manual/javascript/csv/ for information about the csv parsing function. Another way to do it is to create your trials lists using Javascript code, specifying your conditions through code, and then store the results in an array which you can then extract content to populate each trial in the "prepare phase" of your trial sequence.
Comments
Hi @Lisa_99,
There are numerous ways of pseudorandomizing trials, depending on your experiment's characteristics and how complex the pseudorandomization is. Sopmetimes nested loops will do the trick. Otherwose, you can also create your trials lists outside Open Sesame and import tham as csv files (and then, for examepol, pick one randomly for every participant); see https://osdoc.cogsci.nl/4.0/manual/javascript/csv/ for information about the csv parsing function. Another way to do it is to create your trials lists using Javascript code, specifying your conditions through code, and then store the results in an array which you can then extract content to populate each trial in the "prepare phase" of your trial sequence.
Best,
Fabrice.