I am having an issue adding sound to my experiments. I have been able to do so without any issues in the past. However, now I am getting the message below. The sound plays in an abnormally high pitch tone, closes, and then gives me the error message. I have installed psychopy-sounddevice via the command prompt already but still get the error message. I am not really sure how to resolve this. Any suggestions?
Thanks in advance.
Running: C:\Users\17703\Documents\SDI\SameDiff-Instruct_lastrun.py
15.1630 INFO Loaded monitor calibration from [‘2022_04_10 17:50’]
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
Hello from the pygame community. Contribute - pygame wiki
2.0979 ERROR Support for the sounddevice
audio backend is not available this session. Please install psychopy-sounddevice
and restart the session to enable support.
Traceback (most recent call last):
4.2970 WARNING User requested fullscreen with size [1536 864], but screen is actually [1920, 1080]. Using actual size
1.0166 WARNING Monitor specification not found. Creating a temporary one…
File “C:\Users\17703\Documents\SDI\SameDiff-Instruct_lastrun.py”, line 985, in
elif sound_1.isFinished:
AttributeError: ‘SoundPTB’ object has no attribute ‘isFinished’
################# Experiment ended with exit code 1 [pid:2652] #################