Combine two item sets into one/ random trial presentation from unequal item sets


Combine two item sets into one/ random trial presentation from unequal...
Author
Message
fflade
fflade
Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)
Group: Forum Members
Posts: 11, Visits: 117
Hello,

I find myself with two item elements: one has 15 items, the other one 4. The one with only 4 items is initially empty and filled during initialization. Now, i'd like to display all 29 items randomly. Every item should be displayed, but none of them twice. How do I do this? I tried list elements, and various noreplace() everywhere, but I seem to miss the point.


<item speakerselect_1>
</item>

<picture speakerselect_1>
/ items = speakerselect_1
/select = noreplace
/ size = (40%,40%)
/ position = (50,50)
/ valign = center
</picture>

<picture speaker_2>
/ items = speaker_2
/ select = noreplace
/ size = (40%,40%)
/ position = (50,50)
/ valign = center
</picture>

<item speaker_2>
/5  = "20.jpg"
/6  = "21.jpg"
/7  = "22.jpg"
/8  = "23.jpg"
/9  = "24.jpg"
/10 = "25.jpg"
/11 = "26.jpg"
/12 = "27.jpg"
/13 = "28.jpg"
/14 = "29.jpg"
/15 = "30.jpg"
/16  = "16.jpg"
/17  = "17.jpg"
/18  = "18.jpg"
/19  = "19.jpg"
</item>

<trial environment_1_figure>
/stimulusframes=[1=speakerselect_1]
/trialduration = 1000
</trial>

<trial environment_1_ground>
/stimulusframes=[1=speaker_2]
/trialduration = 1000
</trial>

<block environment_1>
/ trials = [1-19=noreplace(environment_1_figure, environment_1_ground)]
</block>

This is not a working example, but I hope that makes it clearer. Thanks a lot!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search