Soundsensor/ Voice Onset

Hi everyone,

I am building a picture naming experiment in PsychoPy 2026.1.3 on Windows.

The experiment shows pictures from a conditions file and records spoken responses. What I need is voice onset latency: the time between picture onset and the participant’s first vocal response.

I tried using the Sound Sensor component, but the experiment crashes with this error:

AttributeError: ‘SoundSensor’ object has no attribute ‘device’

The microphone component records audio correctly, but I need an automatic voice onset RT saved to the CSV file.

Is there a recommended way in PsychoPy 2026.1.3 to measure vocal onset RT in a picture naming task? Should I use a specific component, settings, or a Code Component?

Thanks!