Group: Administrators
Posts: 13K,
Visits: 105K
|
You do something like this:
<block myblock> / trials = [1-2 = word] </block>
<trial word> / stimulusframes = [1=word] / validresponse = (0) / trialduration = 10 / branch = [trial.response] </trial>
<sound word> / items = ("cat.wav", "dog.wav") / playthrough = true </sound>
<trial response> / stimulusframes = [1=correctoption, distractor1, distractor2] / inputdevice = mouse / validresponse = (correctoption, distractor1, distractor2) / correctresponse = (correctoption) </trial>
<text correctoption> / items = ("cat", "dog") / select = sound.word.currentindex / hposition = 50% / vposition = list.randomvpos.nextvalue </text>
<text distractor1> / items = ("mat", "bog") / select = sound.word.currentindex / hposition = 50% / vposition = list.randomvpos.nextvalue </text>
<text distractor2> / items = ("flat", "fog") / select = sound.word.currentindex / hposition = 50% / vposition = list.randomvpos.nextvalue </text>
<list randomvpos> / items = (40%, 50%, 60%) / selectionrate = always </list>
|