Skip to content

Questions regarding feedback #819

Answered by jodeleeuw
chenxuh2 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @chenxuh2 ,

While you could make this work with some convoluted timelines and the core set of plugins, e.g., html-keyboard-response, this is probably a case where a custom plugin is more efficient.

I wrote a plugin that happens to do something pretty similar for a span task. It's not exactly what you want, and I didn't write out the full documentation for it. But I'm copying it here as a starting point:

/**
 * jspsych-echo-response
 * Josh de Leeuw
 *
 * plugin for a echo-response block span task
 *
 * documentation: docs.jspsych.org
 *
 **/

jsPsych.plugins["echo-response"] = (function() {

  var plugin = {};

  plugin.info = {
    name: 'echo-response',
    description: '',
    param…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jodeleeuw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants