Group: Forum Members
Posts: 2,
Visits: 2
|
Hello. I am presenting trials in which a sound file will automatically play, and then two subsequent images (target and mask) will be presented sequentially. However, I do not want the images to appear until after the sound file ends. The problem is that there are multiple possible sound files that will be randomly chosen, and they are of varying lengths. Is it possible to present the images only after the sound file ends without specifying an exact time? Here is my code for the stimulus time with question marks where I would otherwise indicate a time. I'd like the target to be presented once sound file (PrimeA) ends and then the mask to be presented 200ms after that.
<trial primeA> / validresponse = ("E", "I") / correctresponse = ("I") / stimulustimes = [0=primeA; ??=target; ??=mask] /ontrialend = [values.primestim = sound.primea.currentitemnumber; values.targetstim = picture.target.currentitemnumber] </trial>
P.S. If this is not possible, I will just specify the timing of presentation based on the longest sound clip duration, but I wanted to see if I could avoid that.
|