By tecnika - 1/26/2016
Hello,
I am programming an experiment where I want to record participant's response and record voice RT. After the participant pronounce the word, instead of disappearing I would like the word to stay for other two seconds before the word disappeared for a blank. Any clues?
Thank you
|
By Dave - 1/26/2016
Set the <picture> element to /erase=false to keep it on-screen after response.
<picture Arabic> / items = Arabic / size = (40%, 40%) / erase = false </picture>
Define a 2-second /posttrialpause and follow the trial up with another trial that blanks the screen for the desired amount of time (500ms in the example below).
<trial ArabicTrial> / posttrialpause = 2000 /stimulustimes = [1 = Arabic] /inputdevice=voicerecord / branch = [trial.blankscreen] </trial>
<trial ArabicTrial> /posttrialpause = 2000 /stimulustimes = [1 = Arabic] /inputdevice=voicerecord /branch = [trial.blankscreen] </trial>
<trial blankscreen> / stimulusframes = [1=blank] / validresponse = (0) / trialduration = 500 / recorddata = false </trial>
<shape blank> / shape = rectangle / color = white / erase = false / size = (100%,100%) </shape>
|
By tecnika - 1/26/2016
Many Thanks!!
|
By tecnika - 1/28/2016
Hello,
I would like to ask one last think about the below code please. How can I record the voice duration? or the voice onset (they should be the voice RT) and the voice offset?
Thank you,
Elena
<expt Maryse> /blocks = [1=TestSession] </expt>
--------------------------
<block TestSession> /trials=[1-42 = noreplace (ArabicTrial)] </block>
---------------------------
<item Arabic> /1 ="1.png" /2 = "2.png" /3 = "3.png" /4 ="4.png" /5 = "5.png" /6 = "6.png" /7 ="7.png" /8 = "8.png" /9 = "9.png" /10 ="10.png" /11 = "11.png" /12 = "12.png" /13 ="13.png" /14 = "14.png" /15 = "15.png" /16="16.png" /17 = "17.png" /18 = "18.png" /19 ="19.png" /20= "20.png" /21 = "21.png" /22= "22.png" /23 = "23.png" /24= "24.png" /25="25.png" /26= "26.png" /27= "27.png" /28 ="28.png" /29= "29.png" /30 = "30.png" /31 ="31.png" /32 = "32.png" /33 = "33.png" /34="34.png" /35 = "35.png" /36 = "36.png" /37= "37.png" /38 = "38.png" /39 ="39.png" /40 = "40.png" /41 = "41.png" /42="42.png" </item>
<picture Arabic> / items = Arabic / size = (40%, 40%) / erase = false </picture>
<trial ArabicTrial> /posttrialpause = 1000 /stimulustimes = [1 = Arabic] /inputdevice=voicerecord /branch = [trial.blankscreen] </trial>
<trial blankscreen> / stimulusframes = [1=blank] / validresponse = (0) / trialduration = 500 / recorddata = false </trial>
<shape blank> / shape = rectangle / color = white / erase = false / size = (100%,100%) </shape>
----------------
|
By Dave - 1/28/2016
The response (i.e. voice) *onset* would be reflected by the 'latency' column in the data file.
Duration and offset of the spoken response you will have to derive from the recorded WAV files.
|