Tokenized Audio Stimulus¶
A tokenized-audio stimulus is similar to the tokenized text stimulus, except that here a token is an audio clip instead of a text segment. A tokenized-audio stimulus can be particularly useful for creating a self-paced listening study. When the participant presses the designated key for advancing in the stimulus, the currently playing audio clip will be cut off, and the next audio clip (if it exists) will start playing.
Required Properties¶
type¶
content¶
- Definition: A list consisting of the file names of the list of audio clips to be played
- Possible values: Must be the file names of the audio files (e.g.
["a.mp3", "b.mp3", "c.mp3"]) - Format support is dependent on the participant's browser. See Tips tab for further information.
- mp3 tends to work well across our supported browsers and all major operating systems (Windows, Mac, and Linux). However, there is a chance that older Linux systems with older browsers will not support this format.
- There are many ways to convert your audio stimuli to the desired format. For audio transcoding, check out fre:ac.
Optional Properties¶
barrier¶
- Definition: If set to
true, then all subsequent stimuli and responses will not be displayed until this tokenized audio stimulus displays all its audio clips. - Possible values:
trueorfalse - Default:
true - See also: delay
delay¶
Info
This property is used for presenting multiple stimuli on a trial in a sequence. To implement inter-trial intervals, see the delay parameter in trial templates instead.
Warning
The delaying of multiple stimuli on a trial does NOT have a chain effect. That is, the delay of any stimulus on a trial is always relative to the onset of that trial or the end of the last stimulus acting as a barrier.
- Definition: Delay the onset of a stimulus by a certain number of seconds, relative to (1) the onset of a trial if there are no stimuli acting as barriers or (2) the end of the last stimulus acting as a barrier.
- Possible values: A number in seconds (decimals are supported)
- Default:
0(no delay)
hint¶
- Definition: Whether to display an instruction note that tells participants to press the key_advance key to play the next audio clip.
- Possible values:
trueorfalse - Default:
true - Instruction reads Press the "[key]" key to play the sounds. where [key] is the key specified in
key_advance. - Setting this to
falsecan be useful if participants are given sufficient practice in prior parts of the study.
key_advance¶
- Definition: The key that a participant should press to play each audio clip in the
contentlist when self_paced istrue. - Possible values: Any alphanumeric character, and one of the following keys:
"ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "ShiftLeft", "ShiftRight", "ControlLeft", "ControlRight", "AltLeft", "AltRight" - Default:
" "(i.e., the space bar)
last_token_skippable¶
- Definition: Whether or not participants can press the key_advance key to skip the very last audio clip in the list
- Possible values:
trueorfalse - Default:
false - Setting this to
truewill potentially allow participants to speed through the entire stimulus without listening to anything (i.e., holding down the designated key throughout the process).
parent¶
- Definition: If specified, then the properties of the specified stimulus will be inherited by this stimulus, unless a property of the same name is defined in this stimulus.
- Possible values: The name of another defined stimulus
progress_bar¶
- Definition: Whether to display a progress bar to visually indicate how many audio files are left to be played
- Possible values:
trueorfalse - Default:
true - Setting this to
falsewill result in no visual indication of the progress of the current tokenized-audio stimulus.
self_paced¶
- Definition: Whether participant interaction (in the form of a key-press specified by key_advance) is required to trigger the playing of each audio clip. If
true, then the playing of audio clips is triggered by participant interaction, and reaction time for each audio clip is recorded. The recorded reaction time reflects how long participants spend listening to an audio clip. A reaction time shorter than the duration of an audio clip means that participants skipped to the next clip before the current one ended. - Possible values:
true,false - Default:
true
Note
At this time, only true is supported. Setting this to false will be ignored.
See Also¶
Audio Stimulus, Tokenized Text Stimulus, Tokenized Image Stimulus