Hi,
I’m quite new to psychoPy and I was wondering if anyone could offer some help.
I’m working on an experiment where I want participant-specific music to play while particiapants complete a task. Participants would have to enter their unique code at the beginning of the experiment (expInfo), which would then lead to music that is specific to that code playing during a specific section of the experiment.
As startup code for the experiment I used the following:
However, I strongly recommend that you use Auto code components and code in Python wherever possible, unless you are much better at coding in JavaScript than Python.
This problem has to do with the stimulus not being downloaded. I’m trying to figure out how you could solve this elegantly, but I don’t have an answer yet. Hang on.
Hi @ellenmurphy, I have created a support fork to address the syntax errors in your project. In particular, Room_1 / code_8 line 1 and Room_practice / startup_code lines 12 and 19 needed tweaking. Please let me know if any problems remain, x
Thanks so much for your help! I have implemented those changes, and now the experiment is running but instead of the music playing where it is supposed to, there is just an audible beep (around 1 second long) followed by silence. It’s not an issue with the sound files because I managed to have music running prior to trying to have individualized music playing. There is no error message and the experiment runs as normal, just with no sound. Have you any experience of this happening?