PsychoPy version (3):
I want to add a 15s music clip to one of the routines in my experiment. There are no loops, its just a randomized series of three different routines.
So far I have tried to add a sound in the settings category of the 15s sound. I replaced “Sound A” with a path that leads to the sound file in a folder on my desktop. I got an error.
Then I tried to take the sound file out of the folder and put it on my desktop but it still didn’t work.
I then removed the “sound” thingy completely from the routine and just added a custom code because someone suggested that. I added in the Begin Routine tab "background_sound = sound.Sound (‘file name’)
And then a stop in the End Routine tab
What am I missing? Is there an easier way to get sound into my routine?
Thank you very much!