Return to the Temporal Reproduction Task page

Script Author: Katja Borchert, Ph.D. ( for Millisecond Software, LLC
Date: 06-04-2013
last updated: 02-04-2016 by K.Borchert ( for Millisecond Software LLC

Copyright © 02-04-2016 Millisecond Software


This script implements the Temporal Reproduction procedure as described in:

Wittmann, M., Leland, D.S., Jan Churan, J. & Paulus, M.P.(2007). Impaired time perception and motor timing
in stimulant-dependent subjects. Drug and Alcohol Dependence, 90, 183–192.

Participants are asked to estimate the duration of a target tone (tone 1, 1-5s) by manually 
interrupting (-> Spacebar) a comparison tone (tone 2) when they think tone 2 was played as long as tone 1.
Participants are actively discouraged from counting seconds by introducting a distractor task.
Before tone 1 is played two target symbols appear on the screen that participants are asked to remember for
a later forced-choice recognition task. At the end of the entire trial sequence, a comparison symbol is presented and 
participants have to decide whether this symbol was one of the two target symbols.

The default data stored in the data files are:

(1) Raw data file: 'TemporalReproduction_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) 
/firstdistractor:				stores the index of the first distractor symbol
/seconddistractor:				stores the index of the second distractor symbol
/select_compdistractor:			stores current index of the comparison distractor
/tone1duration:					stores the current duration of Tone1
/estimation_rt:					latency of estimation (in ms)
response:						the participant's response
correct:						the correctness of the response (1 = correct; 0 = incorrect)
latency: 						the response latency (in ms)

(2) Summary data file: 'TemporalReproduction_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)
/distractortask_errorrate:		recognition error proportion for distractortask
/mean_estimation_t1 -:			mean estimation time (in ms) for t1 to t5
/std_estimation_t1- :			standard deviation of the estimation times for t1 to t5
/CV_t1-  :						coefficient of variation for t1 to t5			

a) Main Task: Temporal Reproduction
IV = duration of target tone (here: 1000ms, 2000ms, 3000ms, 4000, 5000ms) tested within-subjects
Main DV: latency of estimation (how long it takes participants to press  after Tone 2 starts playing)

*Each level of the IV is repeated 6 times for a total of 30 trials.
*the order is determined randomly
*target tone 1 (300Hz)/comparison tone 2 (600Hz) have a maximum duration of 20,000ms/25,000ms in this script 
(replace under section Editable Stimuli for longer durations; the tones for this script were created with

b) Distractor Task: forced-choice Recognition Task
Note: the original article does not specify the details of this task
In this script: 10 symbols (customize under section Editable Stimuli)
* each symbol appears 6 times as one of the target symbols
* in half the time the comparison symbol is familiar 
(it's randomly decided which one of the two symbols is chosen for familiar trials)

Instructions provided with this script are not the originals. Customize under section Editable Instructions

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:

/durationbtwtones:					posttrialpause after presenting tone1 in ms(default: 1000)
/ITI:								intertrialinterval, break inbetween main trial sequences in ms (default: 2000)
/distractorduration:				duration of the target distractors in ms(default: 1000)

tone1 duration settings (in ms):	the 5 levels of the IV
/t1 = 1000										
/t2 = 2000							Note: the provided sound files last for max 20s(tone1)/25s(tone2); for longer durations	
/t3 = 3000							these sound files need to be replaced
/t4 = 4000
/t5 = 5000

Copyright © Millisecond Software. All rights reserved.
Contact | Terms of Service | Privacy Statement | Security Statement | GDPR
Website Security Test