mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
Merge pull request #3443 from jspsych/fix-missing-data-field
fix missing data field in `audio-button-response` plugin
This commit is contained in:
commit
b84c14400a
5
.changeset/red-news-pull.md
Normal file
5
.changeset/red-news-pull.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@jspsych/plugin-audio-button-response": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
annotate missing stimulus data field
|
@ -37,6 +37,7 @@ In addition to the [default data collected by all plugins](../overview/plugins.m
|
|||||||
| -------------- | ------- | ---------------------------------------- |
|
| -------------- | ------- | ---------------------------------------- |
|
||||||
| rt | numeric | The response time in milliseconds for the participant to make a response. The time is measured from when the stimulus first began playing until the participant's response. |
|
| rt | numeric | The response time in milliseconds for the participant to make a response. The time is measured from when the stimulus first began playing until the participant's response. |
|
||||||
| response | numeric | Indicates which button the participant pressed. The first button in the `choices` array is 0, the second is 1, and so on. |
|
| response | numeric | Indicates which button the participant pressed. The first button in the `choices` array is 0, the second is 1, and so on. |
|
||||||
|
| stimulus | string | Path to the audio file that played during the trial. |
|
||||||
|
|
||||||
## Simulation Mode
|
## Simulation Mode
|
||||||
|
|
||||||
|
@ -100,6 +100,10 @@ const info = <const>{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
|
/** The path of the audio file that was played. */
|
||||||
|
stimulus: {
|
||||||
|
type: ParameterType.STRING,
|
||||||
|
},
|
||||||
/** The response time in milliseconds for the participant to make a response. The time is measured from
|
/** The response time in milliseconds for the participant to make a response. The time is measured from
|
||||||
* when the stimulus first began playing until the participant's response.*/
|
* when the stimulus first began playing until the participant's response.*/
|
||||||
rt: {
|
rt: {
|
||||||
|
Loading…
Reference in New Issue
Block a user