ExperimentMFC 5.1. The stimulus-dependent run text

The example experiment contained the following lines:

numberOfDifferentStimuli = 4
"heed" ""
"hid" ""
"hood" ""
"hud" ""
...
...
runText = "Choose the vowel that you heard."

For every stimulus, the same “run text” was written at the top of the screen. But suppose you want to make that text dependent on the stimulus. You would do:

"heed" "Choose the vowel you heard."
"hid" "Click the vowel you heard."
"hood" "Select the vowel you heard."
"hud" "What's the vowel you heard?"
...
...
runText = ""

In this case, each stimulus comes with its own text. The runText will only show up for stimuli for which you do not supply a separate text.

This feature is useful mainly in cases where the responses are sounds but the stimulus is not (see ExperimentMFC 6. Responses are sounds) or if you want to cause some lexical priming.

Links to this page


© ppgb 20051205