@@ -150,7 +150,7 @@ async function experimentInit() {
instructions=newvisual.TextStim({
win:psychoJS.window,
name:'instructions',
text:'',
text:(("This experiment uses an n-back paradigm. \n\nYou will be shown 100 words.\n\nPress the \"S\" key if the word is the same as the word you saw "+nback.toString())+" words ago, or the \"D\" key if it is different.\n\nPress the space bar instead of \"S\" or \"D\" if you see an animal word.\n\nPress the space bar to continue"),
font:'Arial',
units:'norm',
pos:[0,0],height:0.1,wrapWidth:1.5,ori:0,
...
...
@@ -355,7 +355,6 @@ function startRoutineBegin(snapshot) {
frameN=-1;
continueRoutine=true;// until we're told otherwise
// update component parameters for each repeat
instructions.setText('"This experiment uses an n-back paradigm. /n/nYou will be shown 100 words./n/nPress the /"S/" key if the word is the same as the word you saw "+str($nback)+" words ago, or the /"D/" key if it is different./n/nPress the space bar instead of /"S/" or /"D/" if you see an animal word./n/nPress the space bar to continue"');
instructions_key.keys=undefined;
instructions_key.rt=undefined;
_instructions_key_allKeys=[];
...
...
@@ -469,7 +468,7 @@ function target_loopLoopBegin(target_loopLoopScheduler, snapshot) {
psychoJS:psychoJS,
nReps:1,method:TrialHandler.Method.RANDOM,
extraInfo:expInfo,originPath:undefined,
trialList:TrialHandler.importConditions(psychoJS.serverManager,'WORDS FOR EXPERIMENT.xlsx',slice(0,6)),
trialList:TrialHandler.importConditions(psychoJS.serverManager,'WORDS FOR EXPERIMENT.xlsx','0:6'),
seed:undefined,name:'target_loop'
});
psychoJS.experiment.addLoop(target_loop);// add the loop to the experiment
@@ -158,7 +158,7 @@ async function experimentInit() {
instructions=newvisual.TextStim({
win:psychoJS.window,
name:'instructions',
text:'',
text:(("This experiment uses an n-back paradigm. \n\nYou will be shown 100 words.\n\nPress the \"S\" key if the word is the same as the word you saw "+nback.toString())+" words ago, or the \"D\" key if it is different.\n\nPress the space bar instead of \"S\" or \"D\" if you see an animal word.\n\nPress the space bar to continue"),
font:'Arial',
units:'norm',
pos:[0,0],height:0.1,wrapWidth:1.5,ori:0,
...
...
@@ -362,7 +362,6 @@ function startRoutineBegin(snapshot) {
frameN=-1;
continueRoutine=true;// until we're told otherwise
// update component parameters for each repeat
instructions.setText('"This experiment uses an n-back paradigm. /n/nYou will be shown 100 words./n/nPress the /"S/" key if the word is the same as the word you saw "+str($nback)+" words ago, or the /"D/" key if it is different./n/nPress the space bar instead of /"S/" or /"D/" if you see an animal word./n/nPress the space bar to continue"');
instructions_key.keys=undefined;
instructions_key.rt=undefined;
_instructions_key_allKeys=[];
...
...
@@ -475,7 +474,7 @@ function target_loopLoopBegin(target_loopLoopScheduler, snapshot) {
psychoJS:psychoJS,
nReps:1,method:TrialHandler.Method.RANDOM,
extraInfo:expInfo,originPath:undefined,
trialList:TrialHandler.importConditions(psychoJS.serverManager,'WORDS FOR EXPERIMENT.xlsx',slice(0,6)),
trialList:TrialHandler.importConditions(psychoJS.serverManager,'WORDS FOR EXPERIMENT.xlsx','0:6'),
seed:undefined,name:'target_loop'
});
psychoJS.experiment.addLoop(target_loop);// add the loop to the experiment