OS (e.g. Win10): Windows 10
PsychoPy version (e.g. 1.84.x): 2022.1.2
What are you trying to achieve?:
I have different .wav files for correct responses and incorrect responses. I have the files in the same folder as the psychopy file. I have the audio component with my $soundfile variable as the sound name. Then in my custom code I have an if statement specifying which sound to play. Images below of my program set up along with the error message I receive.
I’m not exactly sure what this message means. Any help would be appreciated.