Hi,
I’m encountering an issue when running an experiment in PsychoPy with my Creative Live A3 sound card. The error message I’m getting is as follows:
PTB-ERROR: Desired audio parameters for device 9 seem to be unsupported by audio device: Invalid sample rate.
Traceback:
vbnet
Copy code
PTB-ERROR: Seems the requested audio sample rate 48000.000000 Hz is not supported by this combo of hardware and sound driver.
Error in function Open: Usage error Failed to open PortAudio audio device due to unsupported combination of audio parameters.
Prevalidation failure.
PsychPortAudio:Open: Usage:
pahandle = PsychPortAudio('Open' [, deviceid][, mode][, reqlatencyclass][, freq][, channels][, buffersize][, suggestedLatency][, selectchannels][, specialFlags=0]);
Additionally, I’m seeing a fallback error in PsychoPy when trying to use this audio device:
rust
Copy code
Could not find exact match for specified parameters (index=9, sampleRateHz=48000, channels=None), falling back to best approximation (index=9, sampleRateHz=48000, channels=4).
The experiment ends with an exit code 1, and the following traceback is displayed:
arduino
Copy code
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\hardware\manager.py", line 253, in addDevice
raise ManagedDeviceError( psychopy.hardware.manager.ManagedDeviceError: Failed to open PortAudio audio device due to unsupported combination of audio parameters. Prevalidation failure.
I’ve checked the Windows sound settings and the Creative Live A3 driver software, and 48 kHz is listed as supported. However, PsychoPy still fails to open the device with the desired parameters.
I’ve also tried adjusting the settings, but the error persists. Could you help me figure out what might be going wrong or suggest any possible fixes?
Thanks in advance for your assistance!
Best regards,