Psychopy can't find sounds, i've tried everything

Hi ! If someone can help me i’d greatly appreciate it!! So it’s my first time using Psychopy, i’m trying to set up a speech shadowing task, participants have to listen to sounds and then repeat them. I’m using Win10, the brand new Psychopy version and the 3.2 python version. And for the life of me, i don’t know why my sound files can’t be found. I have

  • been careful to use the exact same writing and caps or no caps
  • put the loop on “set every repeat”
  • stored my sound files in the same file as the psychopy exp
  • match the writing in conditionfile and i have no errors in the sounds names.
    And i get this error:

Running: C:\Users\ACE\Desktop\Speechprod_exp\Speechprod_exp_lastrun.py

pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
3.4531 WARNING User requested fullscreen with size [1024 768], but screen is actually [1366, 768]. Using actual size
Traceback (most recent call last):
File “C:\Users\ACE\Desktop\Speechprod_exp\Speechprod_exp_lastrun.py”, line 234, in
sound_trial.setSound(sounds)
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\sound\backend_sounddevice.py”, line 361, in setSound
_SoundBase.setSound(self, value, secs, octave, hamming, log)
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\sound_base.py”, line 193, in setSound
raise ValueError(msg + value)
ValueError: setSound: could not find a sound file named permanent

You don’t actually show us how you are specifying the sound file name.

But if you are providing the literal string permanent, where is its file extension? Or if permanent is a variable from your conditions file, then you need to prefix it like this: $permanent so it doesn’t get interpreted as a literal value.

Hey, thank you for taking the time to help me !
In my conditions file my variable is called “sounds” and i had already prefixed it as follows: $sounds
so it doesnt recognize my files. and “permanent” is the first auditory stimulus in my sounds file!

Is the file really called just “permanent” or is it really “permanent.wav” or “permanent.mp3” or similar? Most files have an extension (but windows hides them)

permanent.wav. I have 20 wav audio files in my “sounds” file!