OS (Win10)
PsychoPy version (v2023.2.3)
Hello I am a Master’s student currently developing my thesis on Cognitive/Musical Neuroscience. In my experiment I need to present different auditive stimuli to the participants and then perform some self-reports about emotional assessment. I have tried to import the audio files in different formats such as wav mp3 and aiff and I still get an error message about some combination of audio parameters.
Part of the error message appears as:
PsychPortAudio:Open: Usage:
pahandle = PsychPortAudio(‘Open’ [, deviceid][, mode][, reqlatencyclass][, freq][, channels][, buffersize][, suggestedLatency][, selectchannels][, specialFlags=0]);
PTB-ERROR: Failed to open audio device -1. PortAudio reports this error: Invalid device
PTB-ERROR: Desired audio parameters likely unsupported by audio device.
PTB-ERROR: This could be, e.g., due to an unsupported combination of audio sample rate, audio channel count/allocation, or audio sample format.
Error in function Open: Usage error
Failed to open PortAudio audio device due to unsupported combination of audio parameters.
Anyone as any solutions? (Please not that I’m a coding newbie and I am currently using the non coding part of the PsychoPy)