Thank you @dvbridges for your help.
It did not work when I changed it in the builder preferences but it worked when I changed it in the “Experiment settings > Audio > Audio latency priority”.
However I worry about the latency. It is critical that the latency is as low as possible in the experiment. Yet on the psychopy documentation, one can read :
0 : Latency not important
For when it really doesn’t matter. Latency can easily be in the region of 300ms!
1 : Share low-latency access
Tries to use a low-latency setup in combination with other applications. Latency usually isn’t very good and in MS Windows the sound you play must be the same sample rate as any other application that is using the sound system (which means you usually get restricted to exactly 48000 instead of 44100).
2 : Exclusive mode low-latency
Takes control of the audio device you’re using and dominates it. That can cause some problems for other apps if they’re trying to play sounds at the same time.
3 : Aggressive exclusive mode
- Mode 2 but with more aggressive settings to prioritise our use of the card over all others. *This is the recommended mode for most studies
4 : Critical mode
As Mode 3 except that, if we fail to be totally dominant, then raise an error rather than just accepting our slightly less dominant status.
Then do you think it is better to :
- use the PTB library with a share low latency access
- or use the Pyo library with a agressive exclusive mode ?