jsPsych/packages/plugin-html-audio-response
2022-09-20 16:56:51 +00:00
..
src add comments for parameters to match those in html-video-response 2022-07-18 16:33:06 -07:00
CHANGELOG.md chore(release): version packages 2022-09-20 16:56:51 +00:00
jest.config.cjs start work on audio-input plugins 2021-11-19 17:00:10 -05:00
package.json chore(release): version packages 2022-09-20 16:56:51 +00:00
README.md added readme.md for every package + changeset 2022-09-20 12:18:15 -04:00
rollup.config.mjs start work on audio-input plugins 2021-11-19 17:00:10 -05:00
tsconfig.json start work on audio-input plugins 2021-11-19 17:00:10 -05:00

jspsych logo

jsPsych is a JavaScript framework for creating behavioral experiments that run in a web browser.

Plugin Description

The html-audio-response plugin displays HTML content and records audio from the participant via a microphone. In order to get access to the microphone, use the initialize-microphone plugin before this plugin.

The audio data is recorded in base 64 format, which is a text representation of the audio that may be converted into others. Note that this plugin will quickly generate large amounts of data, so if a large amount of audio needs to be recorded, consider storing the data on a server immediately and deleting it from the data object (This is shown in the documentation link below).

Examples

Several example experiments and plugin demonstrations are available in the /examples folder. After you've downloaded the latest release, double-click on an example HTML file to run it in your web browser, and open it with a programming-friendly text editor to see how it works.

Documentation

Documentation for this plugin is available here.

Getting help

For questions about using the library, please use the GitHub discussions forum. You can also browse through the history of Q&A on the forum to find related questions.

Contributing

We ❤️ contributions! See the contributing to jsPsych documentation page for more information about how you can help.

Citation

If you use this library in academic work, please cite the paper that describes jsPsych:

de Leeuw, J.R. (2015). jsPsych: A JavaScript library for creating behavioral experiments in a Web browser. Behavior Research Methods, 47(1), 1-12. doi:10.3758/s13428-014-0458-y

Contributors

jsPsych is open source project with numerous contributors. The project is currently managed by the core team of Josh de Leeuw (@jodeleeuw), Becky Gilbert (@becky-gilbert), and Björn Luchterhandt (@bjoluc).

jsPsych was created by Josh de Leeuw.

We're also grateful for the generous support from a Mozilla Open Source Support award, which funded development of the library from 2020-2021.