Experiment(){
Context(){
AssignmentGroup(){
ExperimentName = lang2("Gradient of Color-Word Interference (Stroop, 1935)", "Gradient der Farbe-Wort-Interferenz (Stroop, 1935)");
SubjectCode = "pxlab";
DataFileTrialFormat = "%SubjectCode% %TrialCounter% %Kontext% %Trial.Feedback.Response% %Trial.TwoStrings.ResponseTime%";
new TrialReplicator = 0;
new SemSim = 0;
new ROT = [13.37, 0.519, 0.268];
new GELB = [47.34, 0.429, 0.485];
new GRUEN = [20.2, 0.257, 0.442];
new BLAU = [16.44, 0.175, 0.155];
new WEISS = gray();
new R_JA = 0;
new R_NEIN = 1;
new Interference = 0;
new NEUT = 0;
new KON = 1;
new INKON = 2;
}
Session(){
Instruction(){
Text = ["Experiment zum Stroop-Effekt", " ", "Wenn das Kreuz erscheint, können Sie durch einen Tastendruck die Reizdarbietung auslösen.", "Oben erscheint dann eine Folge von farbigen Buchstaben und unten erscheint ein Farbwort.", "Wenn das Farbwort die Farbe der Buchstaben benennt, drücken Sie \'ja\' - die linke Maustaste, wenn das Farbwort nicht die Buchstabenfarbe benennt, dann drücken Sie \'nein\' - die rechte Maustaste. ", "Urteilen Sie so schnell Sie können, aber versuchen Sie in jedem Fall falsche Antworten zu vermeiden!", " ", "Zum Starten bitte eine beliebige Taste drücken!"];
}
}
SessionEnd(){
Message(){
Text = "E N D E";
Duration = 2000;
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
}
}
Block( StoreData, BlockFactor){
Message(){
Text = "Zum Weitermachen\nbitte eine Taste drücken!";
Timer = de.pxlab.pxl.TimerCodes.RELEASE_RESPONSE_TIMER;
}
}
BlockEnd(){
Message(){
Text = "P A U S E";
Duration = 2000;
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
}
}
Trial( TrialCounter, Kontext, TrialReplicator, TwoStrings.SignalText, TwoStrings.ProbeText, TwoStrings.SignalColor, Feedback.CorrectCode, Feedback.Response, TwoStrings.ResponseTime){
FixationMark(){
Timer = de.pxlab.pxl.TimerCodes.RELEASE_RESPONSE_TIMER;
}
ClearScreen:wait1(){
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 500;
}
TwoStrings(){
SOADuration = 100;
SignalSize = 140;
Duration = 5000;
SignalLocationX = 0;
SignalLocationY = -45;
ProbeSize = 140;
ProbeLocationX = 0;
ProbeLocationY = 148;
ResponseSet = [1, 3];
Execute = 1;
Timer = de.pxlab.pxl.TimerCodes.LIMITED_RESPONSE_TIMER;
SignalText = "GRÜN";
SignalColor = red();
ProbeText = "BLAU";
ProbeColor = gray();
SOATimer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
}
Feedback(){
ResponseParameter = "Trial.TwoStrings.ResponseCode";
CorrectText = "%Trial.TwoStrings.ResponseTime@i% ms";
Evaluation = de.pxlab.pxl.EvaluationCodes.COMPARE_CODE;
FalseText = "Falsch!";
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 1200;
}
ClearScreen:wait2(){
Timer = de.pxlab.pxl.TimerCodes.CLOCK_TIMER;
Duration = 1000;
}
}
// Command line assignments
AssignmentGroup();
}
Factors(){
IndependentFactor( Kontext, Interference, SemSim){
FactorLevel( 31, KON, 3);
FactorLevel( 30, INKON, 3);
FactorLevel( 21, KON, 2);
FactorLevel( 20, INKON, 2);
FactorLevel( 10, NEUT, 1);
FactorLevel( 00, NEUT, 0);
}
}
Procedure(){
Session(){
Block( 0, 1){
Trial( ?, 31, <1, 2>, "ROT", "ROT", ROT, R_JA, ?, ?);
Trial( ?, 31, 1, "ROT", <"GELB", "BLAU">, ROT, R_NEIN, ?, ?);
Trial( ?, 30, 1, <"ROT", "GRÜN">, "GELB", GELB, R_JA, ?, ?);
Trial( ?, 30, 1, <"ROT", "GRÜN">, "BLAU", GELB, R_NEIN, ?, ?);
Trial( ?, 21, 1, <"HIMMEL", "MEER">, "BLAU", BLAU, R_JA, ?, ?);
Trial( ?, 21, 1, "HIMMEL", "ROT", BLAU, R_NEIN, ?, ?);
Trial( ?, 21, 1, "MEER", "GRÜN", BLAU, R_NEIN, ?, ?);
Trial( ?, 20, 1, <"TOMATE", "GRAS">, "BLAU", BLAU, R_JA, ?, ?);
Trial( ?, 20, 1, <"BLUT", "SPINAT">, "GELB", BLAU, R_NEIN, ?, ?);
Trial( ?, 10, 1, "SCHULE", "GELB", GELB, R_JA, ?, ?);
Trial( ?, 10, 1, "NADEL", "ROT", BLAU, R_NEIN, ?, ?);
Trial( ?, 10, 1, "HAUS", "BLAU", BLAU, R_JA, ?, ?);
Trial( ?, 10, 1, "STUHL", "GRÜN", GELB, R_NEIN, ?, ?);
Trial( ?, 00, 1, "XXXX", "ROT", ROT, R_JA, ?, ?);
Trial( ?, 00, 1, "XXXX", "GELB", ROT, R_NEIN, ?, ?);
Trial( ?, 00, 1, "XXXX", "GRÜN", GRUEN, R_JA, ?, ?);
Trial( ?, 00, 1, "XXXX", "BLAU", GRUEN, R_NEIN, ?, ?);
}
Block( 1, 2){
Trial( ?, 31, <1, 2>, "ROT", "ROT", ROT, R_JA, ?, ?);
Trial( ?, 31, 1, "ROT", <"GELB", "BLAU">, ROT, R_NEIN, ?, ?);
Trial( ?, 31, <1, 2>, "GRÜN", "GRÜN", GRUEN, R_JA, ?, ?);
Trial( ?, 31, 1, "GRÜN", <"GELB", "BLAU">, GRUEN, R_NEIN, ?, ?);
Trial( ?, 31, <1, 2>, "BLAU", "BLAU", BLAU, R_JA, ?, ?);
Trial( ?, 31, 1, "BLAU", <"ROT", "GRÜN">, BLAU, R_NEIN, ?, ?);
Trial( ?, 31, <1, 2>, "GELB", "GELB", GELB, R_JA, ?, ?);
Trial( ?, 31, 1, "GELB", <"ROT", "GRÜN">, GELB, R_NEIN, ?, ?);
Trial( ?, 30, 1, <"GELB", "BLAU">, "ROT", ROT, R_JA, ?, ?);
Trial( ?, 30, 1, <"GELB", "BLAU">, "GRÜN", ROT, R_NEIN, ?, ?);
Trial( ?, 30, 1, <"ROT", "GRÜN">, "GELB", GELB, R_JA, ?, ?);
Trial( ?, 30, 1, <"ROT", "GRÜN">, "BLAU", GELB, R_NEIN, ?, ?);
Trial( ?, 30, 1, <"GELB", "BLAU">, "GRÜN", GRUEN, R_JA, ?, ?);
Trial( ?, 30, 1, <"GELB", "BLAU">, "ROT", GRUEN, R_NEIN, ?, ?);
Trial( ?, 30, 1, <"ROT", "GRÜN">, "BLAU", BLAU, R_JA, ?, ?);
Trial( ?, 30, 1, <"ROT", "GRÜN">, "GELB", BLAU, R_NEIN, ?, ?);
Trial( ?, 21, 1, <"TOMATE", "BLUT">, "ROT", ROT, R_JA, ?, ?);
Trial( ?, 21, 1, "TOMATE", "GELB", ROT, R_NEIN, ?, ?);
Trial( ?, 21, 1, "BLUT", "BLAU", ROT, R_NEIN, ?, ?);
Trial( ?, 21, 1, <"SPINAT", "GRAS">, "GRÜN", GRUEN, R_JA, ?, ?);
Trial( ?, 21, 1, "SPINAT", "GELB", GRUEN, R_NEIN, ?, ?);
Trial( ?, 21, 1, "GRAS", "BLAU", GRUEN, R_NEIN, ?, ?);
Trial( ?, 21, 1, <"HIMMEL", "MEER">, "BLAU", BLAU, R_JA, ?, ?);
Trial( ?, 21, 1, "HIMMEL", "ROT", BLAU, R_NEIN, ?, ?);
Trial( ?, 21, 1, "MEER", "GRÜN", BLAU, R_NEIN, ?, ?);
Trial( ?, 21, 1, <"ZITRONE", "BANANE">, "GELB", GELB, R_JA, ?, ?);
Trial( ?, 21, 1, " ZITRONE", "ROT", GELB, R_NEIN, ?, ?);
Trial( ?, 21, 1, " BANANE", "GRÜN", GELB, R_NEIN, ?, ?);
Trial( ?, 20, 1, <"ZITRONE", "MEER">, "ROT", ROT, R_JA, ?, ?);
Trial( ?, 20, 1, <"HIMMEL", "BANANE">, "GRÜN", ROT, R_NEIN, ?, ?);
Trial( ?, 20, 1, <"BLUT", "SPINAT">, "GELB", GELB, R_JA, ?, ?);
Trial( ?, 20, 1, <"TOMATE", "GRAS">, "BLAU", GELB, R_NEIN, ?, ?);
Trial( ?, 20, 1, <"HIMMEL", "BANANE">, "GRÜN", GRUEN, R_JA, ?, ?);
Trial( ?, 20, 1, <"ZITRONE", "MEER">, "ROT", GRUEN, R_NEIN, ?, ?);
Trial( ?, 20, 1, <"TOMATE", "GRAS">, "BLAU", BLAU, R_JA, ?, ?);
Trial( ?, 20, 1, <"SPINAT", "BLUT">, "GELB", BLAU, R_NEIN, ?, ?);
Trial( ?, 10, 1, "NADEL", "ROT", ROT, R_JA, ?, ?);
Trial( ?, 10, 1, "NADEL", "ROT", BLAU, R_NEIN, ?, ?);
Trial( ?, 10, 1, "MUTTER", "ROT", ROT, R_JA, ?, ?);
Trial( ?, 10, 1, "MUTTER", "ROT", GELB, R_NEIN, ?, ?);
Trial( ?, 10, 1, "FINGER", "GELB", GELB, R_JA, ?, ?);
Trial( ?, 10, 1, "FINGER", "GELB", ROT, R_NEIN, ?, ?);
Trial( ?, 10, 1, "SCHULE", "GELB", GELB, R_JA, ?, ?);
Trial( ?, 10, 1, "SCHULE", "GELB", GRUEN, R_NEIN, ?, ?);
Trial( ?, 10, 1, "TISCH", "GRÜN", GRUEN, R_JA, ?, ?);
Trial( ?, 10, 1, "TISCH", "GRÜN", BLAU, R_NEIN, ?, ?);
Trial( ?, 10, 1, "STUHL", "GRÜN", GRUEN, R_JA, ?, ?);
Trial( ?, 10, 1, "STUHL", "GRÜN", GELB, R_NEIN, ?, ?);
Trial( ?, 10, 1, "HAUS", "BLAU", BLAU, R_JA, ?, ?);
Trial( ?, 10, 1, "HAUS", "BLAU", ROT, R_NEIN, ?, ?);
Trial( ?, 10, 1, "TOPF", "BLAU", BLAU, R_JA, ?, ?);
Trial( ?, 10, 1, "TOPF", "BLAU", GRUEN, R_NEIN, ?, ?);
Trial( ?, 00, <1, 2>, "XXXX", "ROT", ROT, R_JA, ?, ?);
Trial( ?, 00, 1, "XXXX", "ROT", BLAU, R_NEIN, ?, ?);
Trial( ?, 00, 1, "XXXX", "ROT", GELB, R_NEIN, ?, ?);
Trial( ?, 00, <1, 2>, "XXXX", "GELB", GELB, R_JA, ?, ?);
Trial( ?, 00, 1, "XXXX", "GELB", ROT, R_NEIN, ?, ?);
Trial( ?, 00, 1, "XXXX", "GELB", GRUEN, R_NEIN, ?, ?);
Trial( ?, 00, <1, 2>, "XXXX", "GRÜN", GRUEN, R_JA, ?, ?);
Trial( ?, 00, 1, "XXXX", "GRÜN", BLAU, R_NEIN, ?, ?);
Trial( ?, 00, 1, "XXXX", "GRÜN", GELB, R_NEIN, ?, ?);
Trial( ?, 00, <1, 2>, "XXXX", "BLAU", BLAU, R_JA, ?, ?);
Trial( ?, 00, 1, "XXXX", "BLAU", ROT, R_NEIN, ?, ?);
Trial( ?, 00, 1, "XXXX", "BLAU", GRUEN, R_NEIN, ?, ?);
}
}
}
}