CIMH-Clinical-Psychology / highspeed-task-MEG

Python version of Wittkuhn et al 2020 highspeed task for psychtoolbox
MIT License
2 stars 2 forks source link

ValueError: setSound: could not find a sound file named sounds/soundWait.wav #2

Open lnnrtwttkhn opened 5 months ago

lnnrtwttkhn commented 5 months ago

hey @skjerns,

I tried to run fast_replay_instructions.psyexp but got this error:

1.3957     WARNING     Monitor specification not found. Creating a temporary one...
ioHub Server Process Completed With Code:  0
  File "/Users/wittkuhn/tools/MEG-highspeed-task/fast_replay_instructions_lastrun.py", line 4032, in <module>
    run(
  File "/Users/wittkuhn/tools/MEG-highspeed-task/fast_replay_instructions_lastrun.py", line 790, in run
    sound_birds = sound.Sound(
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/sound/backend_ptb.py", line 334, in __init__
    self.setSound(value, secs=self.secs, octave=self.octave,
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/sound/backend_ptb.py", line 442, in setSound
    _SoundBase.setSound(self, value, secs, octave, hamming, log)
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/sound/_base.py", line 207, in setSound
    raise ValueError(msg + value)
ValueError: setSound: could not find a sound file named sounds/soundWait.wav
################ Experiment ended with exit code 1 [pid:77056] #################

Indeed, /sounds/soundWait.wav is missing, there is only soundWait.ogg. Not sure if soundWait.ogg is the right one to use?

lnnrtwttkhn commented 5 months ago

Using soundWait.ogg seems to work ...

skjerns commented 5 months ago

Ah, yes, there are still some superfluous files

And you are right, documentation is also missing yet 😄 wanted to link it here already nevertheless