Experiment(){
Context(){
AssignmentGroup(){
ExperimentName = "Word Recognition";
SubjectCode = "pxlab";
}
Session(){
Instruction(){
Text = ["Word or Not?", " ", "You will see two sequences of letters. One is a real word and one is not. Your task is to identify the word and press the respective mouse button as fast as you can.", " ", "Press any mouse button to start!"];
}
}
SessionEnd(){
SessionEndMessage(){
}
}
Trial( TextParagraphMultiple.Text, Feedback.CorrectCode, Feedback.Response, TextParagraphMultiple.ResponseTime){
FixationMark(){
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 300;
}
FixationMark:B(){
Timer = de.pxlab.pxl.TimerCodes.NO_TIMER;
}
TextParagraphMultiple(){
Overlay = de.pxlab.pxl.OverlayCodes.JOIN;
Timer = de.pxlab.pxl.TimerCodes.RESPONSE_TIMER;
ResponseSet = [1, 3];
FontSize = 72;
ReferencePoint = [de.pxlab.pxl.PositionReferenceCodes.BASE_RIGHT, de.pxlab.pxl.PositionReferenceCodes.BASE_LEFT];
LocationX = [-60.0, 60];
LocationY = 25;
}
Feedback(){
ResponseParameter = "Trial.TextParagraphMultiple.ResponseCode";
CorrectText = "Correct!\n %Trial.TextParagraphMultiple.ResponseTime@i% ms";
FalseText = "False!";
Evaluation = de.pxlab.pxl.EvaluationCodes.COMPARE_CODE;
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 1000;
}
}
// Command line assignments
AssignmentGroup();
}
Procedure(){
Session(){
Block(){
Trial( ["CLUB", "CLEB"], 0, ?, ?);
Trial( ["COIN", "COAN"], 0, ?, ?);
Trial( ["CORK", "COLK"], 0, ?, ?);
Trial( ["DEAF", "DIAF"], 0, ?, ?);
Trial( ["DENY", "DINY"], 0, ?, ?);
Trial( ["EDGE", "EDLE"], 0, ?, ?);
Trial( ["FALL", "FAHL"], 0, ?, ?);
Trial( ["FISH", "FESH"], 0, ?, ?);
Trial( ["HOOT", "HEOT"], 0, ?, ?);
Trial( ["SAKE", "SIKE"], 0, ?, ?);
Trial( ["SALT", "SART"], 0, ?, ?);
Trial( ["SOIL", "SOEL"], 0, ?, ?);
Trial( ["SPOT", "SMOT"], 0, ?, ?);
Trial( ["TWIN", "TRIN"], 0, ?, ?);
Trial( ["UNIT", "UNAT"], 0, ?, ?);
Trial( ["BESY", "BUSY"], 1, ?, ?);
Trial( ["FOAD", "FOOD"], 1, ?, ?);
Trial( ["HENT", "HINT"], 1, ?, ?);
Trial( ["HULE", "HUGE"], 1, ?, ?);
Trial( ["LEMP", "LIMP"], 1, ?, ?);
Trial( ["OKAL", "OVAL"], 1, ?, ?);
Trial( ["PAKE", "PIKE"], 1, ?, ?);
Trial( ["PASH", "PATH"], 1, ?, ?);
Trial( ["PAUD", "PAID"], 1, ?, ?);
Trial( ["PROT", "PLOT"], 1, ?, ?);
Trial( ["RABE", "RACE"], 1, ?, ?);
Trial( ["SLUB", "SLAB"], 1, ?, ?);
Trial( ["SMIN", "SKIN"], 1, ?, ?);
Trial( ["VOME", "VOTE"], 1, ?, ?);
Trial( ["WIME", "WIPE"], 1, ?, ?);
}
}
}
}