Trouble with looping sounds

PsychoPy version; https://psychopy.org/download.html- dowloaded from here, it’s the beta version

Hello,

I am trying to loop sounds, and I used this tutorial : https://youtu.be/5ZDVOfGFwWI?si=HSUI1tK2q5K49y9B (Getting Started with PsychoPy (Part 2) | Loops, Variables, Online Experiments | PsychoPy Help #2), that uses images instead. I just followed the same steps but with sound. So far I made an excel file with all the sounds, calling all the sounds from the file.

Then, I tried calling them in psychopy using $aggregate_names. I also did the same thing with text, and it worked, but with audio, I get an error.

Can you please tell me how to fix this?

Is this an online experiment or locally ran?

Was there any other errors with this? Cause from what I see, none of these errors have anything to do with sound itself.

My guess is that the sound files are not where psychopy thinks they are. Make sure your “aggregate_sounds” folder is in the same place as your experiment. For the sake of testing, try it without them in the “aggregate_sounds” folder, and then correct the excel path (still place them in the experiment folder of course), and make sure all the files match the excel spellings.

Issac

Hi Issac,

The error message is from the runner, so its local. I agree that the error may not be sound related, and the installation should be tested first.

Try PsychToolbox input