User Manual: Inquisit Color Word Stroop with Speech Recognition


___________________________________________________________________________________________________________________	

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


last updated:  10-17-2023 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 10-17-2023 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. 3 minutes to complete

___________________________________________________________________________________________________________________	
DATA OUTPUT DICTIONARY
___________________________________________________________________________________________________________________
The fields in the data files are:

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

build:							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, group: 				with the current subject/groupnumber
session:						with the current 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. Thus, trialNum 
									may not reflect the number of main trials run per block.									

color:							contains current color of the word									
congruence:						1= congruent; 2 = incongruent

stimulusItem:					the presented stimuli in order of trial presentation

response:						the participant's response (spoken word - as recognized by voice recognition software)
correct:						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)

inquisit.version:				Inquisit version run
computer.platform:				the platform the script was run on (win/mac/ios/android)
startDate:						date script was run
startTime:						time script was started
subjectId:						assigned subject id number
groupId:						assigned group id number
sessionId:						assigned session id number
elapsedTime:					time it took to run script (in ms); measured from onset to offset of script
completed:						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


Note: script also collects voicerecords as .wav files for manual checks
___________________________________________________________________________________________________________________	
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.