Skip to content

Commit

Permalink
add missing data field to audio-button-response
Browse files Browse the repository at this point in the history
  • Loading branch information
jadeddelta committed Nov 21, 2024
1 parent bd3ed55 commit 1373178
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/red-news-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@jspsych/plugin-audio-button-response": patch
---

annotate missing stimulus data field
4 changes: 4 additions & 0 deletions packages/plugin-audio-button-response/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ const info = <const>{
},
},
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
* when the stimulus first began playing until the participant's response.*/
rt: {
Expand Down

0 comments on commit 1373178

Please sign in to comment.