post_trial_gap blocked the programme #2778
-
Hi,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @ZifengLIU143, In your audio trial, there is no duration set on the length of the trial, so the trial lasts indefinitely because no keyboard responses are allowed. If you want the trial to end after the audio finishes playing, you can use the var test = {
type:jsPsychAudioKeyboardResponse,
stimulus: function(){
return jsPsych.timelineVariable("pathFile")},
choices: "NO_KEYS",
trial_ends_after_audio: true,
post_trial_gap: 500
}; |
Beta Was this translation helpful? Give feedback.
Hi @ZifengLIU143,
In your audio trial, there is no duration set on the length of the trial, so the trial lasts indefinitely because no keyboard responses are allowed. If you want the trial to end after the audio finishes playing, you can use the
trial_ends_after_audio: true
parameter.