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:
true
orfalse
- Default:
true
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 - Possible values:
true
orfalse
- Default:
true
- Instruction reads Press the "[key]" key to play the sounds. where [key] is the key specified in
key_advance
. - Setting this to
false
can be useful if participants are given sufficient practice in prior parts of the study.
key_advance¶
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:
true
orfalse
- Default:
false
- Setting this to
true
will 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:
true
orfalse
- Default:
true
- Setting this to
false
will result in no visual indication of the progress of the current tokenized-audio stimulus.