By mlapc - 1/11/2016
Hi,
I'm new to Inquisit and maybe it is a dummy question but I'm not able to find any example to combine different kind of stimulus. I'm doing and IAT and what I want to do is: 1- Have as stimulus the combination of pictures and a beep sound (target); 2- Have also as stimulus sounds with the written word appearing at the same time (Attributes).
Thanks.
|
By Dave - 1/11/2016
Pairing stimulus elements is explained in the "How to display stimulus pairs" topic in the Inquisit documentation's how-to section. While the example there uses only <text> elements, it works the same for any combination of different types of stimulus elements (e.g. <picture> and <text>, <picture> and <sound>, <text> and <video> etc.).
Suppose you have a <text> element with two items (cat, dog) and a <video> element with two corresponding items. To pair and display them together in a <trial>, you do
<text mytext> / items = textitems / select = noreplace </text>
<item textitems> / 1 = "Cat" / 2 = "Dog" </item>
<video myvideo> / items = videoitems / select = text.mytext,currentindex </video>
<item videoitems> / 1 = "Meow.mp3" / 2 = "Woof.mp3" </item>
<trial mytrial> / stimulusframes = [1=mytext, myvideo] / validresponse = (" ") </trial>
<block myblock> / trials = [1-2 = mytrial] </block>
The word "Cat" will be presented together with "Meow.mp3", the word "Dog" together with "Woof.mp3". You can extend that to as many items as you need.
Beyond that I would recommend giving the tutorials contained in the documentation a go (if you have not already done so). Those will give you a good overview of the most important syntax constructs and setting up basic scripts.
|
By mlapc - 1/11/2016
Thanks for all the info!
|
By EvFr - 4/16/2016
Hi, I have a question about it too. Is it possible to show a text first and have a sound AFTERWARDS? I´m thankful for every help!
|
By Dave - 4/16/2016
Yes, of course that's possible. Stimuli will be presented in the order and at the times specified in /stimulustimes or -frames.
<text mytext> / items = textitems / select = noreplace </text>
<item textitems> / 1 = "Cat" / 2 = "Dog" </item>
<video myvideo> / items = videoitems / select = text.mytext.currentindex </video>
<item videoitems> / 1 = "Meow.mp3" / 2 = "Woof.mp3" </item>
<trial mytrial> / stimulustimes = [0=mytext; 2000=myvideo] / validresponse = (" ") </trial>
<block myblock> / trials = [1-2 = mytrial] </block>
And if you want the <text> stimulus to disappear, you overwrite it at the desired point in time.
<text mytext> / items = textitems / select = noreplace </text>
<item textitems> / 1 = "Cat" / 2 = "Dog" </item>
<video myvideo> / items = videoitems / select = text.mytext.currentindex </video>
<item videoitems> / 1 = "Meow.mp3" / 2 = "Woof.mp3" </item>
<shape easetext> / shape = rectangle / color = white / size = (100%, 100%) </shape>
<trial mytrial> / stimulustimes = [0=mytext; 2000=erasetext, myvideo] / validresponse = (" ") </trial>
<block myblock> / trials = [1-2 = mytrial] </block>
|
|