I am running a reaction time experiment where I switch between operator & participant keyboards in the script.
Before it is time for the participant to respond, the script switches to the participant's keyboard, and then back to operator after response. It works fine in 80-90% of the cases, but in the remaining cases the participant hears a clicking/beeping sound after button press. (They wear headphones, so I don't hear it but I assume this is the matlab error sound.) The responses are still recorded in these cases, but I don't want the participants to hear this click.
I don't understand why this is happening, so I don't know how to fix this.
(I am using an app called Dwayne cam to record the participants through a webcam, in case it's relevant in any way.)
Thanks a lot for your response!