Hello everyone,
I am unable to use sounds in psychopy. I tried different types of soundfiles (.wav .ogg) and always get the same error:
Running: C:\Users\csaq9291\Desktop\test_experiment\soundtest_lastrun.py
pyo version 0.8.0 (uses single precision)
103.5131 WARNING psychopy.sound.initPyo could not find microphone hardware; recording not available
Traceback (most recent call last):
File “C:\Users\csaq9291\Desktop\test_experiment\soundtest_lastrun.py”, line 69, in
phonealarmogg = sound.Sound(u’C:\Users\csaq9291\Desktop\test_experiment\phonealarm.ogg’, secs=-1)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.84.0-py2.7.egg\psychopy\sound.py”, line 701, in init
self.setSound(value=value, secs=secs, octave=octave, hamming=hamming)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.84.0-py2.7.egg\psychopy\sound.py”, line 166, in setSound
raise ValueError, msg + value
ValueError: setSound: could not find a sound file named C:\Users\csaq9291\Desktop\test_experiment\phonealarm.ogg
I made sure the experiment is saved in the same folder as the sound. I tried giving the full path and the closest path from the folder the experiment is saved in.
thankful for any piece of advice