How to play a binaural sound with different volume in each ear?

OS: Windows 10
PsychoPy version: 2020.2.10
Standard Standalone?: yes

I am designing a audiovisual experiment with the PsychoPy builder. I want to play sounds at a specific volume (attenuation) depending of the participant’s hearing threshold in each ear. I understand how to set the volume parameter but I do not know if it is possible to set a different volume in each ear, especially for binaural sound stimuli.

One solution would be to have a monaural sound file for each ear and to play them simultaneously with different volume parameters but this solution seems clunky and I am afraid of timing issues.

Thank you for your understanding. I prefer to use the Builder interface but I am open to resolve the problem through the Coder interface.

Have you tried the separate tracks approach?

I wonder whether you need to look for how to adjust the balance rather than separate volume controls for your preferred method.