<response voice>
/mode=free
/timeoutduration = 8000
</response>

<defaults>
/ font = ("Courier New", -19, 700, 0, 49)
/ inputdevice=voice
/ txbgcolor = (255, 255, 255)
/ screencolor = (175, 175, 255)
/ posttrialpause = 300
</defaults>

<variables>
/ group = (1,2 of 4) (block2=fi_practice, block3=incompatible, block4=if_practice, block5=compatible)
/ default = (block2=if_practice, block3=compatible, block4=fi_practice, block5=incompatible)
</variables>

<text pleasant>
/ items = pleasant
</text>

<item pleasant>
/ 1 = "        HONOR        "
/ 2 = "        LUCKY        "
/ 3 = "       DIAMOND       "
/ 4 = "        LOYAL        "
/ 5 = "       FREEDOM       "
/ 6 = "       RAINBOW       "
/ 7 = "         LOVE        "
/ 8 = "        HONEST       "
/ 9 = "        PEACE        "
/10= "        HEAVEN       "
</item>

<text unpleasant>  
/ items = unpleasant
</text>

<item unpleasant>
/ 1 = "         EVIL        "
/ 2 = "        CANCER       "
/ 3 = "       SICKNESS      "
/ 4 = "       DISASTER      "
/ 5 = "       POVERTY       "
/ 6 = "        VOMIT        "
/ 7 = "         BOMB        "
/ 8 = "        ROTTEN       "
/ 9 = "        ABUSE        "
/10= "        MURDER       "
</item>

<text flower>  
/ items = flowers
</text>

<item flowers>
/ 1 = "        ROSE         "
/ 2 = "       BEGONIA       "
/ 3 = "       VIOLET        "
/ 4 = "        DAISY        "
/ 5 = "      GERANIUM       "
/ 6 = "        TULIP        "
/ 7 = "      CARNATION      "
/ 8 = "      DAFFODIL       "
/ 9 = "        LILAC        "
/10=  "        PANSY        "
</item>


<text insect>  
/ items = insects
</text>

<item insects>
/ 1 = "         ANT         "
/ 2 = "       LOCUST        "
/ 3 = "         BEE         "
/ 4 = "       HORNET        "
/ 5 = "        WASP         "
/ 6 = "       SPIDER        "
/ 7 = "      CENTIPEDE      "
/ 8 = "      COCKROACH      "
/ 9 = "       BEDBUG        "
/10 = "       LADYBUG       "
</item>

<text pleasantreminder>  
/ items = ("pleasant")
/ position = (75, 25)
</text>

<text unpleasantreminder>  
/ items = ("unpleasant")
/ position = (25, 25)
</text>

<text flowerleft>  
/ items = ("flower")
/ position = (25, 25)
</text>

<text flowerright>  
/ items = ("flower")
/ position = (75, 25)
</text>

<text insectleft>  
/ items = ("insect")
/ position = (25, 25)
</text>

<text insectright>  
/ items = ("insect")
/ position = (75, 25)
</text>

<text pleasant_flower>  
/ items = ("pleasant or flower")
/ position = (75, 25)
</text>

<text pleasant_insect>  
/ items = ("pleasant or insect")
/ position = (75, 25)
</text>

<text unpleasant_flower>  
/ items = ("unpleasant or flower")
/ position = (25, 25)
</text>

<text unpleasant_insect>  
/ items = ("unpleasant or insect")
/ position = (25, 25)
</text>

<text errormessage>  
/ items = ("        ERROR        ")
/ color = (255, 0, 0)
</text>

<text correctmessage>  
/ items = ("       CORRECT       ")
/ color = (0, 255, 0)
</text>

<instruct>  
/ nextkey = ("5")
/ prevkey = ("a")
/ font = ("Arial", -16, 400, 0, 34)
</instruct>

<page intro>
^^^Inquisit Speech Recognition Demo
^^^^This experiment demonstrates the use of speech input for an IAT task.
</page>

<page up>  
The tasks that you will be doing in this experiment involve CATEGORY JUDGMENT. On each trial, a stimulus will be displayed, and you must assign it to one of two categories. You should respond AS RAPIDLY AS POSSIBLE in categorizing each stimulus, but don't respond so fast that you make many errors. (Occasional errors are okay.)^^
The two categories that you are to distinguish are:^^
UNPLEASANT vs. PLEASANT words.^^
Say "left" if the stimulus is an UNPLEASANT word.^^
But say "right" if the stimulus is a PLEASANT word.^^
</page>

<page if> 
The two categories that you are to distinguish are:^^
INSECTS vs. FLOWERS.^^
Say "left" if the stimulus is an INSECT.^^
But say "right" if the stimulus is a FLOWER.^^
</page>

<page fi>  
The two categories that you are to distinguish are:^^
FLOWERS vs. INSECTS.^^
Say "left" if the stimulus is a FLOWER.^^
But say "right" if the stimulus is an INSECT.^^
</page>

<page compatible>  
The four categories that you are to distinguish are:^^
UNPLEASANT vs. PLEASANT words^
or^
INSECTS vs. FLOWERS.^^

Say "left" if the stimulus is^
an UNPLEASANT word or an INSECT.^^
But say "right" if the stimulus is^
a PLEASANT word or a FLOWER.^^
</page>

<page incompatible>  
The four categories that you are to distinguish are:^^
UNPLEASANT vs. PLEASANT words^
or^
FLOWERS vs. INSECTS.^^
Say "left" if the stimulus is^
an UNPLEASANT word or a FLOWER.^^
But say "right" if the stimulus is^
a PLEASANT word or an INSECT.^^
</page>

<page end>  
The Implicit Association Test is now concluded. If you have any questions or reactions to the experiment, please discuss them with the experimenter.
</page>

<trial pleas>  
/ validresponse = ("left", "right")
/ correctresponse = ("right")
/ stimulusframes = [1=pleasant]
</trial>

<trial unpleas>  
/ validresponse = ("left", "right")
/ correctresponse = ("left")
/ stimulusframes = [1=unpleasant]
</trial>

<trial insright>  
/ validresponse = ("left", "right")
/ correctresponse = ("right")
/ stimulusframes = [1=insect]
</trial>

<trial insleft>  
/ validresponse = ("left", "right")
/ correctresponse = ("left")
/ stimulusframes = [1=insect]
</trial>

<trial flowright>  
/ validresponse = ("left", "right")
/ correctresponse = ("right")
/ stimulusframes = [1=flower]
</trial>

<trial flowleft>  
/ validresponse = ("left", "right")
/ correctresponse = ("left")
/ stimulusframes = [1=flower]
</trial>

<block up_practice>
/ bgstim = (pleasantreminder, unpleasantreminder)
/ preinstructions = (up)
/ trials = [1-10 = random(pleas, unpleas)]
/ blockfeedback = (latency, correct)
/ errormessage = true(errormessage, 0) 
/ correctmessage = true(correctmessage, 0)
</block>

<block if_practice>
/ bgstim = (insectleft, flowerright)
/ preinstructions = (if)
/ trials = [1-10 = random(insleft, flowright)]
/ blockfeedback = (latency, correct)
/ errormessage = true(errormessage, 0) 
/ correctmessage = true(correctmessage, 0)
</block>

<block fi_practice>
/ bgstim = (insectright, flowerleft)
/ preinstructions = (fi)
/ trials = [1-10 = random(insright, flowleft)]
/ blockfeedback = (latency, correct)
/ errormessage = true(errormessage, 0) 
/ correctmessage = true(correctmessage, 0)
</block>

<block compatible>
/ bgstim = (unpleasant_insect, pleasant_flower)
/ preinstructions = (compatible)
/ trials = [1-20 = random(insleft, flowright, pleas, unpleas)]
/ blockfeedback = (latency, correct)
</block>

<block incompatible>
/ bgstim = (pleasant_insect, unpleasant_flower)
/ preinstructions = (incompatible)
/ trials = [1-20 = random(insright, flowleft, pleas, unpleas)]
/ blockfeedback = (latency, correct)
</block>

<expt>
/ preinstructions = (intro)
/ blocks = [1=up_practice; 2=block2; 3=block3; 4=block4; 5=block5]
/ postinstructions = (end)
</expt>


