github jspsych/jsPsych v4.1

latest releases: @jspsych/plugin-survey@1.0.0, @jspsych/plugin-visual-search-circle@1.2.1, @jspsych/plugin-visual-search-circle@1.2.0...
9 years ago

Major changes

  • There is now a plugin for playing audio files: jspsych-single-audio. The plugin uses the WebAudio API, which allows for relatively precise control over the timing. To support this plugin, several changes and additions were made to the main jspsych.js library. Audio files are automatically preloaded when used with this plugin.
  • All raphael.js dependencies have been migrated to the snap.svg library.
  • A new plugin, jspsych-reconstruction, was added. This plugin allows subjects to interact with a dynamic stimulus to adjust a parameter value.
  • A folder called tests&examples was added to the repository. It contains simple examples for each of the plugins for both testing and instructional purposes.
  • A new method called jsPsych.randomization.sample was added to allow for sampling with and without replacement from an array.

Minor changes

  • The same-different, xab, and similarity plugins were modified so that they record the stimulus in a single field in the data.
  • The dataAsCSV() function was fixed after being broken in version 4.0.
  • The displayData() function will no longer render HTML content on the screen.
  • The survey-text and survey-likert plugins now support a parameter called 'preamble' which allows for additional content to be shown at the top of the page.
  • The single-stim plugin now allows for the choices parameter to be set to 'none', which disables responding.
  • The check_fn parameter in the HTML plugin now has a default value that always returns true.
  • Bug fixes in the categorize, categorize-animation, and visual-search-circle plugins.

Don't miss a new jsPsych release

NewReleases is sending notifications on new releases.