| Reference | Downloads | Github

Use voice key to advance routine?

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 1.85.2

For keyboard responses, you can set the stimulus duration to 0 to keep the stimulus on-screen until a response is logged. Is it possible to do this for a voice key event, rather than a keyboard event?

I don’t think that’s currently possible (the audio capture was contributed by @jeremygray so I’m not certain). I think the dual task of analysing a sound stream for a response at the same time as recording it would currently complicate things.

Okay. If it’s not possible, I’ll probably just keep trials to a fixed duration like the 2s used by the word_naming demo.