Hello,
I am trying to use inquisit to make a vocal stroop experiment, but I encountered several problems here. I've tried several codes, but really do not know how to solve them.
1. How to add a fixation plus before each trial, and add a blank at the end of the trial?
2. How to add a rest in the middle of a block, such as I have 100 trials in a block, how to add a rest in the 50th block?
3. Since I want to do the vocal stroop experiment, where to adjust the SNR?
4. How to use an .img file as an instruction?
Down below is all my codes now, which is adapted from an example. It's the part which can run successfully on my computer.
---------------------------------------------------------------------------------------
*** 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 *****
------------------------------------------------------------------------------------
<item picture>
/1="cd1.BMP"
/2="cd2.BMP"
/3="cd3.BMP"
/4="cd4.BMP"
/5="cd5.BMP"
/6="cd6.BMP"
/7="cd7.BMP"
/8="cd8.BMP"
/9="cd9.BMP"
/10="cd10.BMP"
/11="cd11.BMP"
/12="cd12.BMP"
/13="cd13.BMP"
/14="cd14.BMP"
/15="cd15.BMP"
/16="cd16.BMP"
/17="cd17.BMP"
/18="cd18.BMP"
/19="cd19.BMP"
/20="cd20.BMP"
/21="cs1.BMP"
/22="cs2.BMP"
/23="cs3.BMP"
/24="cs4.BMP"
/25="cs5.BMP"
</item>
<picture cd1.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd2.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd3.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd4.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd5.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd6.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd7.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd8.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd9.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd10.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd11.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd12.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd13.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd14.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd15.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd16.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd17.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd18.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd19.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cd20.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cs1.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cs2.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cs3.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cs4.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<picture cs5.bmp>
/ items = picture
/size=(14%, 14%)
</picture>
<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 Naming Task.
</page>
<page page1>
Your task is to tell the color of the word or color patch that appears on the screen is yellow, green, red, blue or black. Please remember to tell the color of words (not their real pronunciations).Try to speak 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 picturecd1.bmp>
/ stimulustimes = [0=target;200=cd1.bmp]
</trial>
<trial picturecd2.bmp>
/ stimulustimes = [0=target;200=cd2.bmp]
</trial>
<trial picturecd3.bmp>
/ stimulustimes = [0=target;200=cd3.bmp]
</trial>
<trial picturecd4.bmp>
/ stimulustimes = [0=target;200=cd4.bmp]
</trial>
<trial picturecd5.bmp>
/ stimulustimes = [0=target;200=cd5.bmp]
</trial>
<trial picturecd6.bmp>
/ stimulustimes = [0=target;200=cd6.bmp]
</trial>
<trial picturecd7.bmp>
/ stimulustimes = [0=target;200=cd7.bmp]
</trial>
<trial picturecd8.bmp>
/ stimulustimes = [0=target;200=cd8.bmp]
</trial>
<trial picturecd9.bmp>
/ stimulustimes = [0=target;200=cd9.bmp]
</trial>
<trial picturecd10.bmp>
/ stimulustimes = [0=target;200=cd10.bmp]
</trial>
<trial picturecd11.bmp>
/ stimulustimes = [0=target;200=cd11.bmp]
</trial>
<trial picturecd12.bmp>
/ stimulustimes = [0=target;200=cd12.bmp]
</trial>
<trial picturecd13.bmp>
/ stimulustimes = [0=target;200=cd13.bmp]
</trial>
<trial picturecd14.bmp>
/ stimulustimes = [0=target;200=cd14.bmp]
</trial>
<trial picturecd15.bmp>
/ stimulustimes = [0=target;200=cd15.bmp]
</trial>
<trial picturecd16.bmp>
/ stimulustimes = [0=target;200=cd16.bmp]
</trial>
<trial picturecd17.bmp>
/ stimulustimes = [0=target;200=cd17.bmp]
</trial>
<trial picturecd18.bmp>
/ stimulustimes = [0=target;200=cd18.bmp]
</trial>
<trial picturecd19.bmp>
/ stimulustimes = [0=target;200=cd19.bmp]
</trial>
<trial picturecd20.bmp>
/ stimulustimes = [0=target;200=cd20.bmp]
</trial>
------------------------------------------------------------------------------------
*** BLOCKS *****
------------------------------------------------------------------------------------
<block practice>
/preinstructions=(page1)
/ trials = [1-8 =noreplace(picturecd1.BMP,picturecs2.BMP,pictureed6.BMP,picturees4.BMP,picturemd10.BMP,picturems1.BMP,picturep1.BMP,pictureud3.BMP
,pictureus3.BMP)]
</block>
<block Chinesesame>
/preinstructions =(page1)
/ trials = [1-20 =noreplace(picturecs1.BMP,picturecs2.BMP,picturecs3.BMP,picturecs4.BMP,picturecs5.BMP)]
</block>
<block Chinesedifferent>
/preinstructions =(page1)
/ trials = [1-80 =noreplace(picturecd1.BMP,picturecd2.BMP,picturecd3.BMP,picturecd4.BMP,picturecd5.BMP,picturecd6.BMP,picturecd7.BMP,picturecd8.BMP,picturecd9.BMP,picturecd10.BMP,picturecd11.BMP,picturecd12.BMP,picturecd13.BMP,picturecd14.BMP,picturecd15.BMP,picturecd16.BMP,picturecd17.BMP,picturecd18.BMP,picturecd19.BMP,picturecd20.BMP)]
</block>
------------------------------------------------------------------------------------
*** EXPERIMENT*****
------------------------------------------------------------------------------------
<expt>
/ blocks = [1=practice;2=Chinesedifferent;3=Chinesesame]
/ preinstructions = (welcome)
/ postinstructions = (end)
</expt>