How to set the start time for VoiceKey recording?

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win11
PsychoPy version (e.g. 1.84.x): 2022 v2.05
Standard Standalone? (y/n) If not then what?: v
What are you trying to achieve?:
Make the start time of VoiceKey recording consistent with the image start time in the program.

What did you try to make it work?:
I only put voicekey.start() on begin routine

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.


how did you specify the onset of the image or the voice-key? You mind showing us screenshots of the relevant routines or components?

Best wishes Jens

My mind was voicekey.strart(promptonset);


I assume that $promptonset is a time in seconds and start is set to time. In this case, the voiceless will start when $promptonset is reached. Don‘t be confused by the depiction. PsychoPy does not know when $promptonset is until the program runs. You can check the onset-time of the component in the result file. There will be an extra column in the data-file.

Best wishes Jens

Yes , you are right.