Need voicekey working code (psychopy3)

I have had no success in finding the right combination of settings and code to make the voicekey work.
pyo.pa_list_devices() and pyo.pm_list_devices() both report a list of devices. I would appreciate some ‘reference’ code that should work so I can start to track down the problems. tx

OS= Linux 4.19.46
psychopy=3.1.2
cpu= i5-4590
python=3.7
pygame=1.9.6
pyo=0.9.1
portaudio=V19-20140130

no clue if this is what you’re going for but here’s code I’m currently working on (and actually had a question about on this forum, but yeah this code should work)task_script_v3.py (2.5 KB)