Hi Psychtoolbox community,
I am running Psychtoolbox on Windows 10, using PST version 3.0.16. I have a routine that allows our subjects to adjust the volume in Psychtoolbox prior to being scanned (fMRI). Their responses are being recorded by a Lumina response pad. Based on their response the VolNow variable(see below) is increasing or decreasing. The relevant line of code is as follows:
PsychPortAudio(‘Volume’, handles.pahandle,volNow);
The volume is then updated to match this level during stimuli presentation in the scanner. I’ve run into two issues when testing this in the scanner:
-
The volume change only seems to be working at a volume of 0.5 or less. Above this number there is no change in the volume (even when not using the Lumina response pad). This is despite the VolNow variable changing correctly. Is this an issue with my Psychtoolbox settings? Or is there a setting on my Windows computer that may resolve this?
-
When using the Lumina response pad(but not my keyboard), the volume changes with a delay of ~ 5-10 seconds. I know that the timing of the response pad is correct as we use it to record responses to stimuli and those are accurate. Does anyone have any idea what may be causing this delay in volume change? Has anyone experienced a similar problem when using a Lumina response pad with Psychtoolbox?
Thanks in advance for your time and efforts!