-
Hi, I am using the psychophysics plugin, in which I can't make the
Thank you! Catherine |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi Catherine, I don't know much about the psychophysics plugin, but based on the docs it doesn't look like there's a jsPsych/plugins/jspsych-audio-keyboard-response.js Lines 76 to 84 in a2b0cec |
Beta Was this translation helpful? Give feedback.
-
Hi Becky, Thanks for your help. Daiichiro Kuroki, who developed the plugin, is actually helping me figure this out. He changed the plugin as you suggested, but when I use the modified plugin, I get this error: "ReferenceError: Cannot access uninitialized variable". I really don't know what I should try from here, so that's why I asked if there's a way to use the Here are the parts that were added to the plugin:
And here is my script:
Thanks for your help! Catherine |
Beta Was this translation helpful? Give feedback.
-
Hi Becky, Thanks for your help! It's working now :) Catherine |
Beta Was this translation helpful? Give feedback.
Hi Becky,
Thanks for your help. Daiichiro Kuroki, who developed the plugin, is actually helping me figure this out. He changed the plugin as you suggested, but when I use the modified plugin, I get this error: "ReferenceError: Cannot access uninitialized variable". I really don't know what I should try from here, so that's why I asked if there's a way to use the
trial_duration
parameter but by specifying the duration of the audio stimulus. I thought something liketrial_duration: jsPsych.timelineVariable('phrase').duration
but it doesn't work.Here are the parts that were added to the plugin: