Return to the Color Word Stroop with Speech Recognition page
___________________________________________________________________________________________________________________	

								*STROOP TEST - voice recognition input*
								Note: test to ensure that voice recognition works.
								Script does not record voicerecords.
___________________________________________________________________________________________________________________	


last updated: 06-26-2019 by K.Borchert (katjab@millisecond.com) for Millisecond Software LLC
Script Copyright © 06-26-2019 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________
This script implements an example Stroop test with voice recognition.
The classic Stroop paradigm demonstrates the interference of word meaning on the naming of the color in which 
the words are written as measured by reaction time/accuracy  differences to color-meaning congruent and 
color-meaning incongruent combinations. 

This script runs a color naming task and a word naming task. The order is counterbalanced by groupnumber.

Reference:
Stroop, J, R. (1935). Studies of interference in serial verbal reactions. 
Journal of Experimental Psychology, 18, 643-662.

___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	
Participants are asked to do a Color Naming and a Word Naming Task.
For both task, color words (e.g. red, blue) are presented in different colors. In some of the cases,
the color word (e.g. red) and its color (e.g. red) are congruent; in other cases the color word (e.g. red)
and its color (e.g. blue) are discongruent.
For the Color Naming Task, participants have to say the color of the word as fast as possible.
For the Word Naming Task, participants have to say the actual word as fast as possible disregarding their color.

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. XXX minutes to complete
(if no task duration is provided, please contact Millisecond Software
(katjab@millisecond.com)

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

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

Inquisit Version:					The specific Inquisit version used (the 'build') that was run
Computer platform:					the platform the script was run on (win/mac/ios/android)
Date, Time, 						date and time script was run 
Subject ID, Group ID, Session ID:	with the current subject/groupnumber/session id
Blockcode, Blocknum:				the name and number of the current block (built-in Inquisit variable)
Trialcode, Trialnum: 				the name and number of the currently recorded trial (built-in Inquisit variable)
										Note: trialnum is a built-in Inquisit variable; it counts all trials run; 
										even those that do not store data to the data file such as feedback trials									
																	
Congruence:							1= congruent; 2 = incongruent
Color:								contains current color of the word

Presented Stim:						the presented stimuli in order of trial presentation
Response:							the participant's response (spoken word - as recognized by voice recognition software)
ACC:								accuracy of response: 1 = correct response; 0 = otherwise
Latency: 							the response latency (in ms); measured from:


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

Computer Platform:					the platform the script was run on (win/mac/ios/android)
Date:								date script was run
Time:								time script was started
Subject ID:							assigned subject id number
Group ID:							assigned group id number
Session ID:							assigned session id number
Script Duration:					time it took to run script (in ms); measured from onset to offset of script
Script Completion:					0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)

mean corrRT congruentColor:			mean latency (in ms) for correct congruent stimuli in the color block
mean corrRT incongruentColor:		mean latency (in ms) for correct incongruent stimuli in the color block
ErrorRate congruentColor:			errorate for congruent stimuli in the color block
ErrorRate incongruentColor:			errorate for congruent stimuli in the color block

mean corrRT congruentWord:			mean latency (in ms) for correct congruent stimuli the word naming block
mean corrRT incongruentWord:		mean latency (in ms) for correct incongruent stimuli the word naming block
ErrorRate congruentWord:			errorate for congruent stimuli in the word naming block
ErrorRate incongruentWord:			errorate for congruent stimuli in the word naming block

___________________________________________________________________________________________________________________	
EXPERIMENTAL SET-UP 
___________________________________________________________________________________________________________________	
This script runs a color naming task and a word naming task. The order is counterbalanced by groupnumber.
odd groupnumbers -> color naming task, word naming task
even groupnumbers -> word naming task, color naming task

Color Naming Task: 25 trials - 5 repetitions of the 
each of the 5 color words (red, green, blue, black, yellow) is presented in each of the 5 colors once 
(= 4 incongruent: 1 congruent trials)
Participants have to name the color of the word as fast as possible (disregarding the word's meaning)

Word Naming Task: 25 trials - 5 repetitions of the 
each of the 5 color words (red, green, blue, black, yellow) is presented in each of the 5 colors once.
Participants have to say the word as fast as possible (disregarding its color)

___________________________________________________________________________________________________________________	
STIMULI
___________________________________________________________________________________________________________________	
The five color words: red, green, blue, black, yellow

___________________________________________________________________________________________________________________	
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.