diff --git a/.changeset/red-news-pull.md b/.changeset/red-news-pull.md new file mode 100644 index 0000000000..328a90185e --- /dev/null +++ b/.changeset/red-news-pull.md @@ -0,0 +1,5 @@ +--- +"@jspsych/plugin-audio-button-response": patch +--- + +annotate missing stimulus data field diff --git a/packages/plugin-audio-button-response/src/index.ts b/packages/plugin-audio-button-response/src/index.ts index 96ad72ecf7..c510f91587 100644 --- a/packages/plugin-audio-button-response/src/index.ts +++ b/packages/plugin-audio-button-response/src/index.ts @@ -100,6 +100,10 @@ const info = { }, }, 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: {