Group: Administrators
Posts: 13K,
Visits: 105K
|
You should set up two <trial> elements -- one that plays back the audio question, another one that records the spoken response.
In a nutshell:
<block myblock> / trials = [1-5 = sequence(q,a)] </block>
<trial q> / stimulustimes = [0=questionaudio] / validresponse = (0) / trialduration = 100 </trial>
<trial a> / stimulustimes = [0=responseprompt; 5000=responseprompt] / inputdevice = voicerecord / trialduration = 5000 / responseinterrupt = frames </trial>
<video questionaudio> / items = ("q1.mp3", "q2.mp3", "q3.mp3", "q4.mp3", "q5.mp3") / playthrough = true </video>
<text responseprompt> / items = ("Please Respond now") </text>
You may also want to check out the Stroop with voice recording script available in the library if you need another example.
|