Posts: 32
Threads: 15
Joined: Jul 2021
Reputation:
0
In our current setup, the audio stimuli are set with barrier: true, so the choice response is only available after the audio finishes playing.
If I change the audio stimuli to barrier: false, the choice response becomes available as soon as the audio starts, but selecting a response causes the audio to stop.
Is there a way to set barrier: false so that participants can make their choice while allowing the audio to continue playing until the end?
-- sten
Posts: 370
Threads: 22
Joined: Sep 2020
Reputation:
2
Hmm...now that I've described the hack, I guess the solution we can implement on our end is to introduce a "dummy" response that has a duration then! Hmm...
Posts: 32
Threads: 15
Joined: Jul 2021
Reputation:
0
I've added you as collaborator. The block in question is "part_11" starting with the trial template "p11_trial_1_$A1-NAblack&pink and red.wav$A2-NULL$I1-NULL$I2-NULL$T1-socks$T2-NULL$M1-comp$M2-boundary$M3-grammatical"
As far as the duration property: my fix seems to work without it, and when I set the duration of the background audio response to anything other than 0, the fix breaks (the trials advance after pressing the choice button without letting the audio play through).
-- sten
Posts: 370
Threads: 22
Joined: Sep 2020
Reputation:
2
10-22-2024, 01:13 PM
(This post was last modified: 10-23-2024, 08:08 AM by Ting.)
Hi Sten,
Thanks for sharing the study with us! I think I understand the various combinations you've tried and why they worked or didn't work. I also have a recommendation at the end:
1. You current setup works, sort of, because the audio stimuli are universally relatively short. The reason why it works is because your background audio has no duration setting at all. This is important, because it means that the background audio response will record as long as the trial lasts. Now, importantly, because of the addition of the background audio response, the trial has more participant data to process and submit to the server, which takes just a little bit extra time that allowed the audio stimuli to finish playing. If your stimuli were a little longer, they would still be cut off.
In fact, on my fastest computer, if I manage to hit one of the buttons the moment I see them, the audio stimuli did get cut off.
2. I've also tested giving an explicit duration to "p11_potato" the audio response. I find a duration of 4 seconds works really well. It makes sure that the trial will last at least 4 seconds to allow the audio stimuli to play through. If the participant clicks anything before the 4 seconds is over, the trial will simply wait there. I think this is what you wanted?
In that sense, #2 is exactly my understanding of how the findingfive study grammar works. It respects the duration of any background response when there are multiple responses (visible and/or background) on a trial. I would highly recommend doing that.
If you are not seeing the behavior I'm describing, can you clear the cache of your browser and reload everything. We did have a grammar update about 2 weeks ago.
Thanks!
Posts: 32
Threads: 15
Joined: Jul 2021
Reputation:
0
Thank you -- this makes sense now!
-- sten