 ---------------------------------------------------------------------------------------
*** DEFAULTS *****
---------------------------------------------------------------------------------------			

<defaults>
/ font = ("Arial", -24, 700, 0, 34)
/ inputdevice = voicerecord
/ posttrialpause = 500
</defaults>

<data> 
/ columns = [date time subject trialcode blockcode blocknum trialnum latency response stimulusitem stimulusitem] 
</data>

------------------------------------------------------------------------------------
*** TEXTS AND TARGETS *****
------------------------------------------------------------------------------------
<text false>
/ items = ("false")
/ color = (255, 0, 0)
/ position = (50,80)
</text>

<item words>
/1 ="yellow"
/2 ="red"
/3 ="blue"
/4 ="green"		  		
</item>

<text yellow>
/ items = words
/ color = (255, 255, 0)
</text>

<text green>
/ items = words
/ color = (0, 255, 0)
</text>

<text blue>
/ items = words
/ color = (0, 0, 255)
</text>

<text red>
/ items = words
/ color = (255, 0, 0)
</text>


<text target>
/ items = ("*")
/ color = (255, 255, 255)
</text>

------------------------------------------------------------------------------------
*** INSTRUCTION PAGES *****
------------------------------------------------------------------------------------

<instruct> 
/ nextkey = (" ")
/ lastlabel = "Press the spacebar to continue"
/ nextlabel = "Press the spacebar to continue"
/ wait = 500
</instruct>

<page welcome>
^^^^
Welcome to the Stroop Color Task.
</page>

<page page1>
Your task is to determine whether the word that appears on the screen is yellow, green, red or blue. Say the color of the word (not the meaning of the word). You will have 20 trials. Try to respond as quickly as you can, because you will be timed.
</page>

<page end>
This is the end. Thank you for your participation. 
</page>

------------------------------------------------------------------------------------
*** TRIALS *****
------------------------------------------------------------------------------------

<trial wordsred> 
/ stimulustimes = [0=target;200=red]
</trial>

<trial wordsgreen> 
/ stimulustimes = [0=target;200=green]
</trial>

<trial wordsblue> 
/ stimulustimes = [0=target;200=blue]
</trial>

<trial wordsyellow> 
/ stimulustimes = [0=target;200=yellow]
</trial>

------------------------------------------------------------------------------------
*** BLOCKS *****
------------------------------------------------------------------------------------


<block series1>
/preinstructions =(page1)
/ trials = [1-20 =noreplace(wordsred,wordsgreen,wordsyellow,wordsblue)]
</block>

------------------------------------------------------------------------------------
*** EXPERIMENT*****
------------------------------------------------------------------------------------

<expt>
/ blocks = [1=series1]
/ preinstructions = (welcome)
/ postinstructions = (end)
</expt>








