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.
["a.mp3", "b.mp3", "c.mp3"]
){
"type": "tokenized_audio",
"content": ["a.mp3", "b.mp3", "c.mp3"]
}
type
must be specified as tokenized_audio
.{
"type": "tokenized_audio",
"content": ["a.mp3", "b.mp3", "c.mp3"]
}
true
, then all subsequent stimuli and responses will not be displayed until this tokenized audio stimulus displays all its audio clips.true
or false
true
{
"type": "tokenized_audio",
"content": ["a.mp3”, "b.mp3", "c.mp3"],
"barrier": false
}
In trials using the above stimulus code, other stimuli and responses will be displayed at the same time as the tokenized audio.
{
"type": "tokenized_audio",
"content": ["a.mp3”, "b.mp3", "c.mp3"],
"barrier": true
}
In trials using the above stimulus code, the tokenized audio will play before other stimuli and responses are displayed. This code is equivalent to code where the barrier property is not specified.
0
(no delay){
"type": "tokenized_audio",
"content": ["a.mp3”, "b.mp3", "c.mp3"],
"delay": 1.6
}
The above code introduces a delay of 1600 milliseconds.
key_advance
keytrue
or false
true
key_advance
.false
can be useful if participants are given sufficient practice in prior parts of the study.{
"type": "tokenized_audio",
"content": ["a.mp3”, "b.mp3", "c.mp3"],
"hint": false
}
content
list" "
(i.e., the space bar){
"type": "tokenized_audio",
"content": ["a.mp3”, "b.mp3", "c.mp3"],
"key_advance": "j"
}
key_advance
key to skip the very last audio clip in the listtrue
or false
false
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).{
"type": "tokenized_audio",
"content": ["a.mp3”, "b.mp3", "c.mp3"],
"last_token_skippable": true
}
"t_a_1": {
"type": "tokenized_audio",
"content": ["a.mp3", "b.mp3", "c.mp3"],
"hint": true,
"key_advance": "j",
"barrier": false
}
"t_a_2": {
"type": "tokenized_audio",
"content": ["d.mp3", "e.mp3", "f.mp3"],
"parent": "t_a_1",
"hint": false
}
Here, the t_a_2 stimulus inherits the barrier and key_advance properties of t_a_1. t_a_2 does not inherit the hint property of t_a_1 because the stimulus definition of t_a_2 has its own specified hint property.
true
or false
true
false
will result in no visual indication of the progress of the current tokenized-audio stimulus.{
"type": "tokenized_audio",
"content": ["a.mp3”, "b.mp3", "c.mp3"],
"progress_bar": false
}