By Connorrr - 9/19/2016
Hi,
I'm very new to inquisit and I'm struggling to figure out how to end a trial without a response or timeout. Essentially I want to play an audio file with no possible responses then when it has finished display some text which will appear on screen until the participant presses the spacebar.
Is it possible to fix the end time of a trial to the end of an audio file?
Thanks
|
By Connorrr - 9/19/2016
Also these are quite long audio files so is there a way to make sure that the participants computer doesn't fall asleep?
|
By Dave - 9/19/2016
You simply set up a <trial> with a short /timeout or /trialduration, while simultaneously setting the <sound> (for WAV) or <video> (for any other audio formats) element's /playthrough attribute to 'true'. You then /branch to another <trial> that displays your message and accepts the spacebar as response:
<block someblock> / trials = [1-2=soundtrial] </block>
<trial soundtrial> / stimulusframes = [1=somesound] / validresponse = (0) / trialduration = 50 / branch = [trial.messagetrial] </trial>
<video somesound> / items = ("30seconds.mp3", "60seconds.mp3") / playthrough = true </video>
<trial messagetrial> / stimulusframes = [1=sometext] / validresponse = (57) </trial>
<text sometext> / items = ("Your message here") </text>
The audio will be played to completion (regardless of how long it is). Then the sound trial will automatically end and bring up the message trial.
|