Combining picture with sound AND text with sound


Author
Message
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: 104K
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>
Edited 8 Years Ago by Dave
EvFr
EvFr
Associate Member (188 reputation)Associate Member (188 reputation)Associate Member (188 reputation)Associate Member (188 reputation)Associate Member (188 reputation)Associate Member (188 reputation)Associate Member (188 reputation)Associate Member (188 reputation)Associate Member (188 reputation)
Group: Forum Members
Posts: 1, Visits: 2
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!

mlapc
mlapc
Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)
Group: Forum Members
Posts: 2, Visits: 9
Thanks for all the info!
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: 104K
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.

mlapc
mlapc
Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)Respected Member (395 reputation)
Group: Forum Members
Posts: 2, Visits: 9
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.



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search