How do I play a tone to only one ear?

Hi everyone,

I am currently programming an experiment where a participant is cued towards one side via a brief tone that is presented either to the left or right ear. How can I go about doing that?

Kind regards,
Nathan

PsychPortAudio is the main command for flexible audio presentation. There are probably several ways to switch channel, but perhaps the easiest is to just use channel volume to “mute” one channel, read through PsychPortAudio Volume? for the details and look through the many PsychPortAudio demos. There is a mixing interface if you need more advanced channel switching…