
<defaults>
/ font = ("Courier New", -19, 700, 0, 49)
/ inputdevice=voice
/ screencolor=(255, 200, 200)
</defaults>

<response voice>
/ mode=free
/ timeoutduration = 10000
</response>

<expt>
/ preinstructions = (demo)
/ blocks = [1=numbersblock; 2=wordsblock]
/ response = voice
/ postinstructions = (end)
</expt>

<block numbersblock>
/ preinstructions=(nameinstruct)
/ trials=[1-20=numbertrial]
/ bgstim = (namereminder)
/ errormessage=(errormessage, 200)
/ correctmessage=(correctmessage, 200)
/ blockfeedback=(latency, correct)
/ response=voice
</block>

<block wordsblock>
/ preinstructions=(ready)
/ trials=[1-20=wordtrial]
/ bgstim = (namereminder)
/ errormessage=(errormessage, 200)
/ correctmessage=(correctmessage, 200)
/ blockfeedback=(latency, correct)
/ response=voice
</block>

<namingtrial numbertrial>
/ stimulustimes = [0=ready; 200=numbers]
/ posttrialpause = 250
/ correctresponse = (numbers)
</namingtrial>

<namingtrial wordtrial>
/ stimulustimes = [0=ready; 200=words]
/ posttrialpause = 250
/ correctresponse = (words)
</namingtrial>

<text numbers>
/ numitems=10
/ items=numbers
/ select= sequence
</text>

<item numbers>
/1 ="         ONE         "
/2 ="         TWO         "
/3 ="        THREE        "
/4 ="        FOUR         "
/5 ="        FIVE         "
/6 ="         SIX         "
/7 ="        SEVEN        "
/8 ="        EIGHT        "
/9 ="        NINE         "
/10="         TEN         "
</item>

<text words>
/ numitems=10
/ items=words
</text>

<item words>
/1 ="        APPLE        "
/2 ="        CHERRY       "
/3 ="        BLOOD        "
/4 ="         SNOW        "
/5 ="         BONE        "
/6 ="        CLOUD        "
/7 ="         MILK        "
/8 ="        PEACE        "
/9 ="        HAPPY        "
/10="         JOY         "
</item>

<text namereminder>
/numitems=1
/items=("Say the stimulus aloud")
/position=(50,25)
</text>

<text ready>
/numitems=1
/items=("        *****        ")
/color = (100,100,100)
</text>

<text errormessage>
/numitems=1
/items=("        ERROR        ")
/color = (255,0,0)
</text>

<text correctmessage>
/numitems=1
/items=("       CORRECT       ")
/color = (0,255,0)
</text>

<instruct>
/nextkey=("5")
/prevkey=("a")
/ font = ("Courier New", -16, 400, 0, 49)
</instruct>

<page demo>  
This is a demonstration of Inquisit's built in support for naming tasks.
Note that the performance of speech recognition depends upon a number of factors outside
of Inquisit's control, such as the quality of the microphone, the speaker's accent, 
the speed of the computer's CPU, the amount of available RAM, and the type of sound card. 
To get the best possible performance, close any other applications you are running while 
running this demo.^^^
Note: this demo assumes you have installed the Microsoft Speech SDK 4.0 Suite on your machine.
It will not work otherwise.
</page>

<page nameinstruct>  
On each trial, of the following task, a word will be displayed. 
Your task is simply to name the word as quickly and as accurately 
as possible. Simply utter the word aloud!
</page>

<page ready>  
After this page, a new block of trials at the same task as the last block will start.^^
Be ready for the first stimulus when you press the key.
</page>

<page end>  
This demonstration is now concluded. 
</page>

