+xYou can display both the <sound> as well as as grey <shape> during the /posttrialpause by specifying /responsemessage attributes in the <trial>. From the documentation:
"Syntax
/ responsemessage = (responsevalue, stimulusname, duration)
Parameters
responsevalue A valid response value for the trial. See validresponse for possible response values.
stimulusname The name of a stimulus element defined elsewhere in the script.
duration An integer specifying duration in milliseconds for which the stimulus is displayed on the screen. A value of "0" indicates that stimulus should be displayed for the remaining duration of the trial.
Remarks
The stimulus is shown for duration milliseconds.
If the duration is 0, the stimulus is presented for the duration of the posttrialpause. This attribute can be listed multiple times in a given trial to specify different feedback stimuli for different responses. "
I.e.:
<trial FF_recall>
...
/ responsemessage = (anyresponse, beep, 0)
/ responsemessage = (anyresponse, greyscreen, 0)
</trial>
<sound beep>
/ items = ("beep.wav")
...
</sound>
<shape greyscreen>
/ shape = rectangle
/ color = (grey)
/ size = (100%, 100%)
...
</shape>
Hello,
This worked perfectly for /posttrialpause. Now I am trying to do the something similar in other experiment with /pretrialpause. Can you tell me how to add the grey screen and the beep during a /pretrialpause?
This is what I tried but it did't worked:
<trial negative_intensity1>
/pretrialpause = 1000
/responsemessage = (anyresponse, beep, 0)
/responsemessage = (anyresponse, greyscreen, 0)
/ontrialbegin = [values.emotion = "negative"; values.intensity = 1]
/stimulusframes = [1 = negative_intensity1]
/ontrialend = [values.stimulusitem = picture.negative_intensity1.currentitem]
/ontrialend = [values.encoder = picture.negative_intensity1.currentitemnumber]
/timeout = values.stimulusduration
/branch = [surveypage.emotionprofile_negative]
/recorddata = false
</trial>
Thanks.