Simultaneous Audio and Task #3312
Unanswered
LilianAzer
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Could you provide a complete version of your code? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am looking for help and suggestions on how to add background audio simultaneously to my experiment. I would like to have the audio automatically start on a loop (if needed) and run for the full duration of the experiment. The audio is about 7 minutes long and the experiment should take about 5 minutes to complete but I have it on a loop in case participants require a longer time to complete the task. I have incorporated the following html and javascript codes but when the javascript code is in the beginning of the experiment the audio takes priority and the task will not run. When I move the javascript code after getting the subject ID then the audio will play for about a second and the experiment will take priority and the audio will stop playing. Any suggestions on how to get the task and background audio to play simultaneously?
Beta Was this translation helpful? Give feedback.
All reactions