Hi. I am trying to record voice using microphone, but I get below error and experiment crashes. I was able to run my experiment just fine with another microphone, so I am not sure what’s wrong.
OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): v2022.2.3
Standard Standalone? (y/n) If not then what?: y
**What are you trying to achieve?: I am trying to record voice and get voice onset timing
**What did you try to make it work?:I connected microphone and used mic component. I have enabled the microphone in sound setting, correctly set the sample rate, and even upgraded the sound driver.
What specifically went wrong when you tried that?:
I got this error message below:
tmpmic = sound.microphone.AudioCapture(name = ‘tmpMic’, filename = ‘’)
AttributeError: module ‘psychopy.sound.microphone’ has no attribute ‘AudioCapture’