I am creating a program in vs code utilising python libraries.
I’m trying to present a sound stimulus, but I keep getting an error.
I’m not attaching the full code, I’m just attaching a small snippet of code because I get the same error when I try to present a sound stimulus.
Python is version 3.9 and psychoPy is version 24.0.1.
I’ve also tried setting the sampling rate to 44100, 24000, but I get the same error.
Let me know if there’s anything else I need to write. Thanks.
The error looks like this