Kuroki Daiichiro
Department of Psychology, School of Letters, Kyushu University, 744 Motooka, Nishi-ku, Fukuoka, 819-0395, Japan.
Behav Res Methods. 2021 Feb;53(1):301-310. doi: 10.3758/s13428-020-01445-w.
A JavaScript framework named 'jsPsych' developed by de Leeuw (2015) is widely used for conducting Web-based experiments, and its functionality can be enhanced by using plugins. This article introduces a new jsPsych plugin which enables experimenters to set different onset times for geometric figures, images, sounds, and moving objects, and present them synchronized with the refresh of the display. Moreover, this study evaluated the stimulus onset asynchronies (SOAs) using visual and audio stimuli. The results showed that: (i) the deviations from the intended SOAs between two visual stimuli were less than 10 ms, (ii) the variability across browser-computer combinations was reduced compared with the no-plugin condition, and (iii) the variability of the SOAs between visual and audio stimuli was relatively large (about 50 ms). This study concludes that although the use of audio stimuli is somewhat limited, the new plugin provides experimenters with useful and accurate methods for conducting psychophysical experiments online. The latest version of the plugin can be downloaded freely from https://jspsychophysics.hes.kyushu-u.ac.jp under the MIT license.
de Leeuw(2015年)开发的名为“jsPsych”的JavaScript框架被广泛用于开展基于网络的实验,并且其功能可以通过使用插件来增强。本文介绍了一种新的jsPsych插件,该插件使实验者能够为几何图形、图像、声音和移动物体设置不同的起始时间,并使其与显示器的刷新同步呈现。此外,本研究使用视觉和听觉刺激评估了刺激起始异步性(SOA)。结果表明:(i)两种视觉刺激之间与预期SOA的偏差小于10毫秒,(ii)与无插件条件相比,跨浏览器-计算机组合的变异性降低了,以及(iii)视觉和听觉刺激之间SOA的变异性相对较大(约50毫秒)。本研究得出结论,尽管听觉刺激的使用存在一定限制,但新插件为实验者提供了在线进行心理物理学实验的有用且准确的方法。该插件的最新版本可以在麻省理工学院许可下从https://jspsychophysics.hes.kyushu-u.ac.jp免费下载。