Originally Posted by
Maayan Nagar
I'm creating a task in which the participant need to stop the video file presented to him whenever he decides to.
Is there a way I can record the exact time it took him to press the key after the video started? (its a short video of 10 seconds, so it needs to be very accurate).
thanks in advance.
Maayan.
hi Maayan. What you aim to do is possible, and not much syntax. For example, attached I made a very basic 3-line DirectRT experiment with my own video clip, "vidtest.csv".
Under the stim column, the video file needs to begin with an underscore, "_yyy.pin.avi"
However the actual file name itself does not include the underscore--in my stim folder it is simply called "yyy-pin.avi".
Next, the video stim needs to include the desired resolution, in this case, "(640x480)" --the parentheses are needed.
Finally, in your experiment folder where you keep the DirectRT experiment file, such as vidtest.csv, for higher color resolution than 16-bit, make a new text file called "colour.txt" , in which you specify 24 or 32-bit, for color resolution.
More details on such instructions are in the DirectRT manual under "Video / Movie / Animation"
The reaction time for how long it takes a given participant to stop the video will be in the Data folder, in each participant's data file under the column RT.