Group: Administrators
Posts: 13K,
Visits: 105K
|
It's not possible to do it all "on the same screen"; the closest you can get is with something like this (I'm leaving out the "playing back the sounds"-part):
<values> / a_resp = "" / b_resp = "" / pairnumber = 1 </values>
<block myblock> / trials = [1-2=start] </block>
<trial start> / ontrialbegin = [values.a_resp=""; values.b_resp=""; values.pairnumber=list.stimpairs.nextindex; ] / stimulusframes = [1=blank] / trialduration = 0 / branch = [trial.click] / recorddata = false </trial>
<trial click> / inputdevice = mouse / stimulusframes = [1=a, b] / validresponse = (a, b) / branch = [if (trial.click.response == "a" && values.a_resp == "") openended.a_write] / branch = [if (trial.click.response == "b" && values.b_resp == "") openended.b_write] / branch = [trial.click] </trial>
<openended a_write> / ontrialend = [values.a_resp=openended.a_write.response] / isvalidresponse = [openended.a_write.response != ""] / position = (40%, 60%) / branch = [if(values.b_resp == "") trial.click else likert.rate] </openended>
<openended b_write> / ontrialend = [values.b_resp=openended.b_write.response] / isvalidresponse = [openended.b_write.response != ""] / position = (60%, 60%) / branch = [if(values.a_resp == "") trial.click else likert.rate] </openended>
<likert rate> / anchors = [1="A"; 4="Neither"; 7="B"] / numpoints = 7 / position = (50%, 80%) </likert>
<text a> / items = a_items / erase = false / position = (40%, 40%) / select = values.pairnumber </text>
<text b> / items = b_items / erase = false / position = (60%, 40%) / select = values.pairnumber </text>
<item a_items> / 1 = "The Beatles" / 2 = "Mozart" </item>
<item b_items> / 1 = "Rolling Stones" / 2 = "Beethoven" </item>
<shape blank> / shape = rectangle / color = white / size = (100%, 100%) / erase = false </shape>
<list stimpairs> / poolsize = 2 </list>
|