Return to the Simple Auditory Reaction Time Task page
						
								SIMPLE REACTION TIME TASK - auditory
SCRIPT INFO

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
last updated: 01-26-2016 by K.Borchert (katjab@millisecond.com) for Millisecond Software LLC

Copyright © 01-26-2016 Millisecond Software


BACKGROUND INFO

											*Purpose*
This script runs a simple auditory reaction time task. 

											  *Task*
After variable time intervals, a sound is played to the participant. 
The task is to press the spacebar as soon as the sound is presented. 
Latency, Mean latency, latency standard deviation as well as minimum latency and maximum latency for each block
as well as across blocks are recorded in the data file.

DATA FILE INFORMATION: 
The default data stored in the data files are:

(1) Raw data file: 'SRTAuditory_raw*.iqdat' (a separate file for each participant)

build:								Inquisit build
computer.platform:					the platform the script was run on
date, time, subject, group:			date and time script was run with the current subject/groupnumber 
blockcode, blocknum:				the name and number of the current block
trialcode, trialnum: 				the name and number of the currently recorded trial
										(Note: not all trials that are run might record data; by default data is collected unless /recorddata = false is set for a particular trial/block) 
stimulusitem:						the presented stimuli in order of trial presentation
parameters.targetspeaker:				the current speaker through which target is presented
parameters.volumeadjust:				the current volume adjustment
values.fixed:						0= fixed position of target; 1 = random speaker presentation
parameters.maxtrialnumber:				the number of trials in a block
trials.SRTT.count	:				counts the SRTT trials run in a given block
values.stiminterval:				the current stimulus interval (in ms)
latency:							the latency of the response 
trial.SRTT.meanlatency:				the mean latency in the current block (in ms)
trial.SRTT.medianlatency:			the median latency in the current block (in ms)
trial.SRTT.minlatency:				the fastest response in the current block (in ms)
trial.SRTT.maxlatency:				the slowest response in the current block (in ms)
trial.SRTT.sdlatency:				the standard deviation of the latency responses in the current block
trial.SRTT.varlatency:				the variance of the latency responses in the current block
trial.SRTT.totalmeanlatency:		the mean latency across all trials.SRTT (in ms)
trial.SRTT.totalmedianlatency:		the median latency across all trials.SRTT (in ms)
trial.SRTT.totalminlatency:			the fastest response across all trials SRTT (in ms)
trial.SRTT.totalmaxlatency:			the slowest response across all trials SRTT (in ms)
trial.SRTT.totalsdlatency:			the the standard deviation of the latency responses across all trials SRTT
trial.SRTT.totalvarlatency:			the variance of the latency responses across all trials SRTT

(2) Summary data file: 'SRTAuditory_summary*.iqdat' (a separate file for each participant)

script.startdate:					date script was run
script.starttime:					time script was started
script.subjectid:					subject id number
script.groupid:						group id number
script.elapsedtime:					time it took to run script (in ms)
computer.platform:					the platform the script was run on
/completed:							0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run)
trial.SRTT.totalmeanlatency:		the mean latency across all trials.SRTT (in ms)
trial.SRTT.totalmedianlatency:		the median latency across all trials.SRTT (in ms)
trial.SRTT.totalminlatency:			the fastest response across all trials SRTT (in ms)
trial.SRTT.totalmaxlatency:			the slowest response across all trials SRTT (in ms)
trial.SRTT.totalsdlatency:			the the standard deviation of the latency responses across all trials SRTT
trial.SRTT.totalvarlatency:			the variance of the latency responses across all trials SRTT


EXPERIMENTAL SET-UP
* By default, the script runs 2 blocks of 20 trials each
* the time intervals are randomly chosen  from 2000ms, 3000ms, 4000ms, 5000ms, 6000ms, 7000ms, 8000ms intervals
* By default, the sound is panned through both speakers. 
* By default, the sound volume is not adjusted.
* By default, the color of the screen background is white. 

STIMULI
see section Editable Stimuli

INSTRUCTIONS
see section Editable Instructions

EDITABLE CODE:
check below for (relatively) easily editable parameters, stimuli, instructions etc. 
Keep in mind that you can use this script as a template and therefore always "mess" with the entire code to further customize your experiment.

The parameters you can change are:

targetspeaker:						sets the speaker through which the sound is presented; default is 0 (=center=both)
										Alternatives: -10000 (only through the left speaker) 10000 (only through the right speaker)
volumeadjust:						sets a volume adjuster; -10000 sets it to silent, 0 makes no adjustments to the original sound; default is 0.
maxtrialnumber:						sets the number of trials that should be run in a block; the default is 20
screencolor:						sets the background color of the screen
speakerfixed:						determines whether to play the sound though a fixed speaker or randomly through either the left, the right, or both speakers.
volumefixed:						determines whether to randomly adjust the volume of the sound or use a fixed volume
										(0 = fixed volume; 1 = random volume adjustment); default is 0

Copyright © Millisecond Software. All rights reserved.
Contact | Terms of Service | Security Statement | Employment