+xHello,
So I am attempting to make a sequence of videos run in inquisit randomly, but for the measure I am doing I need to start with one video from a set of videos, and then play the rest of the videos including the videos not played from the first set as well as other videos from a second set. So basically I need one random selection from set 1 then the rest of set 1 not including the video already played plus set 2.
I found this on the forum:
http://www.millisecond.com/forums/Topic13891.aspx?Keywords=noreplace.but it doesn't seem to be working.
Here is my current iteraton of code:
<video ASIDEvideos>
/items = [1 = noreplace("Converted Videos/beta1.wmv", "Converted Videos/beta2.wmv", "Converted Videos/beta3.wmv", "Converted Videos/beta4.wmv", "Converted Videos/beta5.wmv", "Converted Videos/beta6.wmv") 2,3,4,5,6,7,8,9,10,11,12 = noreplace("Converted Videos/alpha1.wmv", "Converted Videos/alpha2.wmv", "Converted Videos/alpha3.wmv", "Converted Videos/alpha4.wmv", "Converted Videos/alpha5.wmv", "Converted Videos/alpha6.wmv", "Converted Videos/beta1.wmv", "Converted Videos/beta2.wmv", "Converted Videos/beta3.wmv", "Converted Videos/beta4.wmv", "Converted Videos/beta5.wmv", "Converted Videos/beta6.wmv")]
/playthrough = true
/position = (50,50)
</video>
Set1: "Converted Videos/beta1.wmv", "Converted Videos/beta2.wmv", "Converted Videos/beta3.wmv", "Converted Videos/beta4.wmv", "Converted Videos/beta5.wmv", "Converted Videos/beta6.wmv"
Set2:"Converted Videos/alpha1.wmv", "Converted Videos/alpha2.wmv", "Converted Videos/alpha3.wmv", "Converted Videos/alpha4.wmv", "Converted Videos/alpha5.wmv", "Converted Videos/alpha6.wmv"
Thank you for your help!
Jrp
/items = [1 = noreplace("Converted Videos/beta1.wmv", "Converted Videos/beta2.wmv", "Converted Videos/beta3.wmv", "Converted Videos/beta4.wmv", "Converted Videos/beta5.wmv", "Converted Videos/beta6.wmv") 2,3,4,5,6,7,8,9,10,11,12 = noreplace("Converted Videos/alpha1.wmv", "Converted Videos/alpha2.wmv", "Converted Videos/alpha3.wmv", "Converted Videos/alpha4.wmv", "Converted Videos/alpha5.wmv", "Converted Videos/alpha6.wmv", "Converted Videos/beta1.wmv", "Converted Videos/beta2.wmv", "Converted Videos/beta3.wmv", "Converted Videos/beta4.wmv", "Converted Videos/beta5.wmv", "Converted Videos/beta6.wmv")]
This is not valid syntax for an <item> attribute. What you need to do is set up two <video> elements -- one for alpha, one for beta -- and two <trial> elements -- also one for alpha, one for beta.
<video alpha_video>
/ items = alpha_items
/ select = noreplace
/ playthrough = true
</video>
<item alpha_items>
/ 1 = "Converted Videos/alpha1.wmv"
/ 2 = "Converted Videos/alpha2.wmv"
/ 3 = "Converted Videos/alpha3.wmv"
/ 4 = "Converted Videos/alpha4.wmv"
/ 5 = "Converted Videos/alpha5.wmv"
/ 6 = "Converted Videos/alpha6.wmv"
</item>
<video beta_video>
/ items = beta_items
/ select = noreplace
/ playthrough = true
</video>
<item beta_items>
/ 1 = "Converted Videos/beta1.wmv"
/ 2 = "Converted Videos/beta2.wmv"
/ 3 = "Converted Videos/beta3.wmv"
/ 4 = "Converted Videos/beta4.wmv"
/ 5 = "Converted Videos/beta5.wmv"
/ 6 = "Converted Videos/beta6.wmv"
</item>
<trial alpha_trial>
/ stimulusframes = [1=alpha_video]
/ validresponse = (57)
</trial>
<trial beta_trial>
/ stimulusframes = [1=beta_video]
/ validresponse = (57)
</trial>
Then run the trials via a <block> as needed:
<block videoblock>
/ trials = [1=beta_trial;
2-12 = noreplace(alpha_trial, alpha_trial, alpha_trial, alpha_trial, alpha_trial, alpha_trial,
beta_trial, beta_trial, beta_trial, beta_trial, beta_trial)
]
</block>