Stroop Voice Recording Task


Author
Message
Fatma Demiray
Fatma Demiray
Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)
Group: Forum Members
Posts: 21, Visits: 1

Hi,

I would like to do experiments using "some word-pairs" and "some words with images" in the same experiment by recording the reaction time of the participants, which is
similar to Verbal Stroop task in the library; however, I could not find a sample
task in the library. Additionally, I do not know how to program these
two parts of my experiment. How could I program the suitable script to do the experiments?


I would much obliged if anyone could assist me as soon as possible.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

The first thing you should do is work through all the tutorials included in the Inquisit documentation. These will help you acquire the basics re. setting up experiments with Inquisit and understanding its syntax.


Then move on and work through a number of existing scripts such as those available in the Task Library at millisecond.com. For anything you do not understand right away, look up the commands in the documentation / language reference.


Equipped with the above, start writing your own scripts according to your needs. If you hit any roadblock along the way, you can search the forum for solutions to similar questions or -- if none are available -- post your concrete questions.


Regards,


~Dave


Fatma Demiray
Fatma Demiray
Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)
Group: Forum Members
Posts: 21, Visits: 1

I have been trying to figure out the logic of  how to program my experiment for a few days and I have already run and examined the available scripts in the library. In fact, when the Verbal Stroop for Inquisit 4, it suddenly stucks, which is also a kind of problem. In the modified Verbal Stroop script, we wish to use some word pairs and some words with related and unrelated  pictures instead of using color-word pairs as it is presented in the original script. For the first experiment, 32 English words will be randomly presented with 16 related words or 16 pictures or  with 16 unrelated words or 16 pictures. To illustrate, the word pair "pig" (in the middle of the screen) and "capra" (on the top right of the screen) will be shown for the participant to verbally translate the into their own language. In the same experiment, we would like to use the words with images in the same way mentioned above. For example, the word "horse" will be given with the related picture of "cow".


If you could help me construct the basic script with voice recording feature, I am able to develop it by myself gradually.


Thanks.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

I will gladly provide assistance and pointers. However, you need to be more specific re. where exactly you are stuck. The setup you pasted above is rather simple and the tutorials should provide you with enough to get started with that.


Fatma Demiray
Fatma Demiray
Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)
Group: Forum Members
Posts: 21, Visits: 1

Sir, when I run the verbal stroop in the library under win8, it displays the first word and then it never moves on further. I wonder whether there is something wrong with the original script.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

Have you tried running the script on a different computer? It might as well be that there is something wrong with your Windows 8 machine.


The issue indicates that the script is not getting any microphone input, so you need to check your microphone and settings.


Fatma Demiray
Fatma Demiray
Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)
Group: Forum Members
Posts: 21, Visits: 1

I will try it on a different OS as soon as possible and then inform you.


Fatma Demiray
Fatma Demiray
Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)
Group: Forum Members
Posts: 21, Visits: 1

By the way, I would like to replace the "inputdevice = keyboard" with "inputdevice = voicerecord". Could anyone help me how to do it? The whole script is below:


---------------------------------------------------------------------------------------
*** DEFAULTS ***
---------------------------------------------------------------------------------------           

<defaults>
/ screencolor = (255,255,255)
/ font = ("Arial", -18, 400, 0, 34)
/ txbgcolor = (0, 0, 0)
/ txcolor = (0,0,0)
/ inputdevice = keyboard
</defaults>

<data>
/ columns = [date time subject trialcode blockcode blocknum trialnum trialdata trialdata latency response]
</data>

------------------------------------------------------------------------------------
*** TEXTS AND TARGETS ***
------------------------------------------------------------------------------------

<text word>
/ select = noreplace
/ position = (5,50)
/ items = word
/ font = ("Arial", -20, 700, 0, 49)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item word>
/1 = "word"
</item>

<text nonword>
/ select = noreplace
/ position = (93,50)
/ items = nonword
/ font = ("Arial", -20, 700, 0, 49)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item nonword>
/1 = "nonword"
</item>


<text relatedwords1>
/ select = noreplace
/ erase = true(0,0,0)
/ position = (50,50)
/ items = relatedwords1
/ font = ("Courier New", -35, 700, 0, 49)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item relatedwords1>
 / 1 = "above"
 / 2 = "acquire"
 / 3 = "back"
 / 4 = "baggage"
 / 5 = "bake"
 / 6 = "cafeteria"
 / 7 = "dad"
 / 8 = "dairy"
 / 9 = "early"
 / 10 = "famine"
 / 11 = "gangster"
 / 12 = "garden"
 / 13 = "labor"
 / 14 = "laugh"
 / 15 = "laws"
 / 16 = "league"
 / 17 = "pail"
 / 18 = "rake"
</item>

<text relatedwords2>
/ select = linked(relatedwords1)
/ erase = true(0,0,0)
/ position = (50,50)
/ items = relatedwords2
/ font = ("Courier New", -35, 700, 0, 49)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item relatedwords2>
 / 1 = "below"
 / 2 = "get"
 / 3 = "front"
 / 4 = "luggage"
 / 5 = "cake"
 / 6 = "food"
 / 7 = "mom"
 / 8 = "milk"
 / 9 = "late"
 / 10 = "hunger"
 / 11 = "mob"
 / 12 = "flower"
 / 13 = "work"
 / 14 = "cry"
 / 15 = "rules"
 / 16 = "baseball"
 / 17 = "bucket"
 / 18 = "leaves"

</item>

<text unrelatedwords1>
/ select = noreplace
/ erase = true(0,0,0)
/ position = (50,50)
/ items = unrelatedwords1
/ font = ("Courier New", -35, 700, 0, 49)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item unrelatedwords1>
 / 1 = "ache"
 / 2 = "addict"
 / 3 = "bacon"
 / 4 = "bait"
 / 5 = "cable"
 / 6 = "calcium"
 / 7 = "dagger"
 / 8 = "eagle"
 / 9 = "fable"
 / 10 = "galaxy"
 / 11 = "garage"
 / 12 = "gem"
 / 13 = "lather"
 / 14 = "lawn"
 / 15 = "leaf"
 / 16 = "least"
 / 17 = "pain"
 / 18 = "sack"
</item>

<text unrelatedwords2>
/ select = linked(unrelatedwords1)
/ erase = true(0,0,0)
/ position = (50,50)
/ items = unrelatedwords2
/ font = ("Courier New", -35, 700, 0, 49)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item unrelatedwords2>
/ 1 =  "grade"
/ 2 =  "math"
/ 3 =  "leather"
/ 4 =  "potato"
/ 5 =  "last"
/ 6 =  "birthday"
/ 7 =  "balance"
/ 8 =  "damp"
/ 9 =  "damage"
/ 10 = "gallon"
/ 11 = "danger"
/ 12 = "biology"
/ 13 = "show"
/ 14 = "just"
/ 15 = "minor"
/ 16 = "mortgage"
/ 17 = "feather"
/ 18 = "routine"
</item>

<text relatednonwords1>
/ select = noreplace
/ erase = true(0,0,0)
/ position = (50,50)
/ items = relatednonwords1
/ font = ("Courier New", -35, 700, 0, 49)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item relatednonwords1>
 / 1 = "saddle"
 / 2 = "toes"
 / 3 = "tapioca"
 / 4 = "adult"
 / 5 = "afraid"
 / 6 = "ballot"
 / 7 = "banker"
 / 8 = "calf"
 / 9 = "closet"
 / 10 = "daisy"
 / 11 = "elbow"
 / 12 = "father"
 / 13 = "fawn"
 / 14 = "geometry"
 / 15 = "girl"
 / 16 = "leaves"
 / 17 = "lemon"
 / 18 = "lend"
</item>

<text relatednonwords2>
/ select = linked(relatednonwords1)
/ erase = true(0,0,0)
/ position = (50,50)
/ items = relatednonwords2
/ font = ("Courier New", -35, 700, 0, 49)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item relatednonwords2>
/ 1 =  "hirse"
/ 2 =  "feep"
/ 3 =  "podding"
/ 4 =  "cheld"
/ 5 =  "scire"
/ 6 =  "vode"
/ 7 =  "muney"
/ 8 =  "cov"
/ 9 =  "clethes"
/ 10 = "flover"
/ 11 = "arn"
/ 12 = "mather"
/ 13 = "deeq"
/ 14 = "meth"
/ 15 = "bok"
/ 16 = "tlee"
/ 17 = "loam"
/ 18 = "birrow"
</item>

<text unrelatednonwords1>
/ select = noreplace
/ erase = true(0,0,0)
/ position = (50,50)
/ items = unrelatednonwords1
/ font = ("Courier New", -35, 700, 0, 49)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item unrelatednonwords1>
 / 1 = "salmon"
 / 2 = "width"
 / 3 = "adorable"
 / 4 = "affection"
 / 5 = "age"
 / 6 = "band"
 / 7 = "bounce"
 / 8 = "clorox"
 / 9 = "crib"
 / 10 = "dark"
 / 11 = "elderly"
 / 12 = "fatigue"
 / 13 = "genius"
 / 14 = "gift"
 / 15 = "good"
 / 16 = "left"
 / 17 = "legs"
 / 18 = "lens"
</item>

<text unrelatednonwords2>
/ select = linked(unrelatednonwords1)
/ erase = true(0,0,0)
/ position = (50,50)
/ items = unrelatednonwords2
/ font = ("Courier New", -35, 700, 0, 49)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item unrelatednonwords2>
/ 1 = "ronge"
/ 2 = "oringe"
/ 3 = "haxe"
/ 4 = "jongle"
/ 5 = "businoss"
/ 6 = "cibbage"
/ 7 = "shoa"
/ 8 = "balloen"
/ 9 = "bene"
/ 10 = "cictus"
/ 11 = "cofe"
/ 12 = "eerthquake"
/ 13 = "cilm"
/ 14 = "tinic"
/ 15 = "yohurt"
/ 16 = "socretary"
/ 17 = "fruets"
/ 18 = "vergo"
</item>


<text target>
/ items = target
/ font = ("Courier New", -35, 700, 0, 49)
/ txbgcolor = (0, 0, 0)
/ txbgcolor = (255,255,255)
/ color = (0,0,0)
</text>

<item target>
/1 = "*"
</item>

<shape erase>
/ color= (255,255,255)
/ size = (400,400)
</shape>

------------------------------------------------------------------------------------
*** INSTRUCTION PAGES ***
------------------------------------------------------------------------------------

<instruct>
/ nextkey = (" ")
/ lastlabel = "Press the spacebar to continue"
/ nextlabel = "Press the spacebar to continue"
/ font = ("Arial", -18, 400, 0, 34)
/ screencolor = (255,255,255)
/ txcolor = (0,0,0)
</instruct>

<page welcome>
^^^^
                     Welcome to the Lexical Decision Experiment.
</page>

<page instruction>

Directions: In each trial two words will be flashed on the screen. After you've seen both words, your task is to decide as quickly as possible whether both members of the pair are real words (e.g., apple   chair ) or if one is a nonword (e.g., box  appoe).
^^
Press the 'q' key if both are real words and press the 'p' key if one is a nonword. Try to be as fast and accurate as possible. There are 72 trials.
^^
Press the spacebar when you are ready to start. 
</page>

<page end>
^^
This is the end. Thank you for participating.
</page>

------------------------------------------------------------------------------------
*** TRIALS ***
------------------------------------------------------------------------------------

<trial relatedwords>
/ pretrialpause = 60
/ validresponse = (16,25)
/ correctresponse = (25)
/ stimulustimes = [200=target; 1200=relatedwords1; 1500=erase; 2100=relatedwords2; 2400=erase]
/ trialdata = [relatedwords1,relatedwords2]
</trial>

<trial unrelatedwords>
/ pretrialpause = 60
/ validresponse = (16,25)
/ correctresponse = (25)
/ stimulustimes = [200=target; 1200=unrelatedwords1; 1500=erase; 2100=unrelatedwords2; 2400=erase]
/ trialdata = [unrelatedwords1,unrelatedwords2]
</trial>

<trial relatednonwords>
/ pretrialpause = 60
/ validresponse = (16,25)
/ correctresponse = (16)
/ stimulustimes = [200=target; 1200=relatednonwords1; 1500=erase; 2100=relatednonwords2; 2400=erase]
/ trialdata = [relatednonwords1,relatednonwords2]
</trial>

<trial unrelatednonwords>
/ pretrialpause = 60
/ validresponse = (16,25)
/ correctresponse = (16)
/ stimulustimes = [200=target; 1200=unrelatednonwords1; 1500=erase; 2100=unrelatednonwords2; 2400=erase]
/ trialdata = [unrelatednonwords1,unrelatednonwords2]
</trial>
------------------------------------------------------------------------------------
*** BLOCKS ***
------------------------------------------------------------------------------------

<block trials>
/ preinstructions =(instruction)
/ bgstim =(word,nonword)
/ trials = [1-72 =noreplace(relatedwords,unrelatedwords,relatednonwords,unrelatednonwords)]
</block>

------------------------------------------------------------------------------------
*** EXPERIMENT***
------------------------------------------------------------------------------------

<expt>
/ blocks = [1=trials]
/ preinstructions = (welcome)
/ postinstructions = (end)
</expt>


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K


By the way, I would like to replace the "inputdevice = keyboard" with "inputdevice = voicerecord". Could anyone help me how to do it? The whole script is below:


---------------------------------------------------------------------------------------
*** DEFAULTS ***
---------------------------------------------------------------------------------------           

<defaults>
/ screencolor = (255,255,255)
/ font = ("Arial", -18, 400, 0, 34)
/ txbgcolor = (0, 0, 0)
/ txcolor = (0,0,0)
/ inputdevice = keyboard
</defaults>



That's where you change it.


You'll also have to change / remove the /validresponse and /correctresponse attributes in all <trial> elements.



Fatma Demiray
Fatma Demiray
Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)Partner Member (574 reputation)
Group: Forum Members
Posts: 21, Visits: 1

Sir, I had already tried changing inputdevice=voicerecord, but it did not work. Now I've got the message. I will do the second one you told me.


Many thanks


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search