Color Word Stroop - Speech Recognition

Technical Manual

Last Modified: January 11, 2025 by K. Borchert (katjab@millisecond.com), Millisecond

Script Copyright © Millisecond Software, LLC

Background

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.

This scripts collects spoken words as input. Millisecond recommends testing that voice recognition works. The script records voicerecords as backup that can be manually scored or with help of the following 'Tools -> Speech Recognition -> Analyze Recorded Responses'

References

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

Duration

3 minutes

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.

Procedure

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
size: 6% of canvas height
font: Arial

Instructions

Instructions provided by Millisecond - see section Editable Instructions

Summary Data

File Name: strooptask_withvoicerecognition_summary*.iqdat

Data Fields

NameDescription
inquisit.version Inquisit version number
computer.platform Device platform: win | mac |ios | android
computer.touch 0 = device has no touchscreen capabilities; 1 = device has touchscreen capabilities
computer.hasKeyboard 0 = no external keyboard detected; 1 = external keyboard detected
startDate Date the session was run
startTime Time the session was run
subjectId Participant ID
groupId Group number
sessionId Session number
elapsedTime Session duration in ms
completed 0 = Test was not completed
1 = Test was completed
meanCorrRTCongruentColor Mean latency (in ms) for correct congruent stimuli in the color block
meanCorrRTIncongruentColor Mean latency (in ms) for correct incongruent stimuli in the color block
errorRateCongruentColor Errorate for congruent stimuli in the color block
errorRateIncongruentColor Errorate for congruent stimuli in the color block
meanCorrRTCongruentWord Mean latency (in ms) for correct congruent stimuli the word naming block
meanCorrRTIncongruentWord Mean latency (in ms) for correct incongruent stimuli the word naming block
errorRateCongruentWord Errorate for congruent stimuli in the word naming block
errorRateIncongruentWord Errorate for congruent stimuli in the word naming block

Raw Data

File Name: strooptask_withvoicerecognition_raw*.iqdat

Data Fields

NameDescription
build Inquisit version number
computer.platform Device platform: win | mac |ios | android
computer.touch 0 = device has no touchscreen capabilities; 1 = device has touchscreen capabilities
computer.hasKeyboard 0 = no external keyboard detected; 1 = external keyboard detected
date Date the session was run
time Time the session was run
subject Participant ID
group Group number
session Session number
blockcode The name the current block (built-in Inquisit variable)
blocknum The number of the current block (built-in Inquisit variable)
trialcode The name of the currently recorded trial (built-in Inquisit variable)
trialnum The number of the currently recorded trial (built-in Inquisit variable)
trialnum is a built-in Inquisit variable; it counts all trials run
even those that do not store data to the data file.
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